[syslog-ng] Syslog-ng header & rfc5424

Fabien Wernli wernli at in2p3.fr
Fri Jul 19 12:15:30 UTC 2019


On Fri, Jul 19, 2019 at 01:58:36PM +0200, Florian Goulais wrote:
> I just try to understand why syslog add a non standardized header.

syslog-ng doesn't "add" anything. What it does is parse input, and forma
the message object depending on the input and output drivers.

If you use the syslog() input, it tries to parse rfc3164/rfc5424.
If you use the file() output, it formats using time, host, program, message.

If you want to track everything unparsed, use flags(no-parse) in the input,
and template("$MSG") in the output.



More information about the syslog-ng mailing list