[syslog-ng] Testing structured data syslog messages

Matthew Hall mhall at mhcomputing.net
Fri Feb 4 03:34:34 CET 2011


On Thu, Feb 03, 2011 at 05:11:08PM -0800, Lance Laursen wrote:
> Unfortunately it is showing up in logs as this:
> 
> 2011-02-03T22:45:30+00:00 localhost 1 2011-02-03T22:14:15.003Z superhostomg
> process - ID47 [exampleSDID at 32473 iut="9" eventSource="rawr" eventID="69"]
> Message portion. Test log with structured data.
> 
> So all of the metadata is being printed to $MSG. What am I doing wrong?

Depending on syslog-ng version you probably need this flag:

syslog-protocol

http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-v3.2-guide-admin-en.html/index.html-single.html#configuring_sources_syslog

Regards,
Matthew.


More information about the syslog-ng mailing list