---
title: "pipe: Send messages to named pipes"
url: "https://axoflow.com/docs/axosyslog-core/4.28/chapter-destinations/configuring-destinations-pipe/"
last_modified: "2023-10-29T10:05:55+01:00"
---

> For the complete documentation index, see [llms.txt](https://axoflow.com/docs/axosyslog-core/4.28/llms.txt).

# pipe: Send messages to named pipes

The `pipe()` driver sends messages to a named pipe like `/dev/xconsole`.

The pipe driver has a single required parameter, specifying the filename of the pipe to open. The filename can include macros. For the list of available optional parameters, see [pipe() destination options](https://axoflow.com/docs/axosyslog-core/4.28/chapter-destinations/configuring-destinations-pipe/reference-destination-pipe/index.md).

## Declaration:

```shell
   pipe(filename);
```

> **Warning:**
> Starting with AxoSyslog 3.0.2, pipes are created automatically. In earlier versions, you had to create the pipe using the `mkfifo(1)` command.

## Example: Using the pipe() driver

```shell
   destination d_pipe { pipe("/dev/xconsole"); };
```

---

[pipe() destination options](https://axoflow.com/docs/axosyslog-core/4.28/chapter-destinations/configuring-destinations-pipe/reference-destination-pipe/index.md)

Last modified October 29, 2023: [Create manpages (#34) (9534f54e)](https://github.com/axoflow/axosyslog-core-docs/commit/9534f54ee9e0cc76cb336c0c01f2e1973760d0e0)
