---
title: "sun-streams: Collect messages on Sun Solaris"
url: "https://axoflow.com/docs/axosyslog-core/4.28/chapter-sources/source-sunstreams/"
last_modified: "2026-08-02T12:13:35+02:00"
---

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

# sun-streams: Collect messages on Sun Solaris

Solaris uses its `STREAMS` framework to send messages to the `syslogd` process. Solaris 2.5.1 and above uses an IPC called *door* in addition to `STREAMS`, to confirm the delivery of a message. The AxoSyslog application supports the IPC mechanism via the `door()` option (see below).

> **Note:**
> The `sun-streams()` driver must be enabled when the `syslog-ng` application is compiled (see `./configure --help`).

The `sun-streams()` driver has a single required argument specifying the `STREAMS` device to open, and the `door()` option. For the list of available optional parameters, see [sun-streams() source options](https://axoflow.com/docs/axosyslog-core/4.28/chapter-sources/source-sunstreams/reference-source-sunstreams/index.md).

> **Note:**
> Starting with version 3.7, the AxoSyslog`system()` driver automatically extracts the msgid from the message (if available), and stores it in the `.solaris.msgid` macro. To extract the msgid from the message without using the `system()`driver, use the `extract-solaris-msgid()` parser. You can find the exact source of this parser in the [AxoSyslog GitHub repository](https://github.com/axoflow/axosyslog/blob/master/scl/solaris/plugin.conf).

## Prerequisites

AxoSyslog supports this feature only on Solaris. The Debian/Ubuntu and RHEL packages that Axoflow publishes don’t include it. To use it, build AxoSyslog from [source](https://github.com/axoflow/axosyslog) on Solaris.

## Declaration:

```shell
   sun-streams(<name_of_the_streams_device> door(<filename_of_the_door>));
```

## Example: Using the sun-streams() driver

```shell
   source s_stream {
        sun-streams("/dev/log" door("/etc/.syslog_door"));
    };
```

---

[sun-streams() source options](https://axoflow.com/docs/axosyslog-core/4.28/chapter-sources/source-sunstreams/reference-source-sunstreams/index.md)

Last modified August 2, 2026: [Adds required packages to sources (04b3e715)](https://github.com/axoflow/axosyslog-core-docs/commit/04b3e715e8025d4e9b9f963b485ce6996f113c79)
