Lily Chadha
2015-03-05 12:00:35 UTC
Hi,
i am new to syslog module.i am trying to log STRUCTURED DATA in log
file.But when i am using this parameter in template it is showing null
value.i am using rsyslogd 5.8.11.
this below template i am using to log messages.
"<%PRI%>%TIMESTAMP:::date-rfc3339%%HOSTNAME%%syslogtag%%APP-NAME%%PROCID%%MSGID% %msg% %STRUCTURED-DATA%\nâ
i am getting message like this:
<142> 2015-03-05T06:55:39.816659-05:00 host login[1986]: login 1986 - [1986 : 1986 INFO]SERIAL Login from IP:127.0.0.3 user:sysadmin -but i want message with structure data
i am new to syslog module.i am trying to log STRUCTURED DATA in log
file.But when i am using this parameter in template it is showing null
value.i am using rsyslogd 5.8.11.
this below template i am using to log messages.
"<%PRI%>%TIMESTAMP:::date-rfc3339%%HOSTNAME%%syslogtag%%APP-NAME%%PROCID%%MSGID% %msg% %STRUCTURED-DATA%\nâ
i am getting message like this:
<142> 2015-03-05T06:55:39.816659-05:00 host login[1986]: login 1986 - [1986 : 1986 INFO]SERIAL Login from IP:127.0.0.3 user:sysadmin -but i want message with structure data
--
You received this message because you are subscribed to the Google Groups "graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.