Unix stream users : I'd need to have syslog messages catched by the syslog-ng and forwarded to local daemon using unix-stream. Moreover, as I collect different facilities and level I'd like to ask syslog-ng to add to each line forwarded the $FACILITY to the beginning of the line. Is this now possible ? loic
Loic SPINDLER <lsp@oleane.net> - Mon, Aug 09, 2004:
I'd need to have syslog messages catched by the syslog-ng and forwarded to local daemon using unix-stream.
I think that the unix-*() destination drivers should do the trick. <http://www.balabit.com/products/syslog_ng/reference/book1.html> (Section 3)
Moreover, as I collect different facilities and level I'd like to ask syslog-ng to add to each line forwarded the $FACILITY to the beginning of the line.
Like with the template() option? Not sure wether it works with unix-*(), but you can use program() and call something that connects to the Unix socket (for example socat). -- Loïc Minier <lool@dooz.org>
participants (2)
-
Loic Minier
-
Loic SPINDLER