syslog-ng documentation

Your main source of knowledge

The syslog-ng product family has an extensive documentation, covering everything from how to install a product to the most complex configuration and settings descriptions. If you cannot find an answer to your question, try the mailing list - our community is always eager to help.

syslog-ng Premium Edition

Contents

7.16. unix-stream, unix-dgram: Sending messages to UNIX domain sockets The syslog-ng Premium Edition 7 Administrator Guide

The unix-stream() and unix-dgram() drivers send messages to a UNIX domain socket in either SOCK_STREAM or SOCK_DGRAM mode.

Both drivers have a single required argument specifying the name of the socket to connect to. For the list of available optional parameters, see Section 7.16.1, unix-stream() and unix-dgram() destination options.

Declaration: 

unix-stream(filename [options]);
unix-dgram(filename [options]);
Example 7.37. Using the unix-stream() driver
destination d_unix_stream { unix-stream("/var/run/logs"); };