You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to log messages to an external server
In the rsyslog.conf file, I've set the following
$ActionFileDefaultTemplate RSYSLOG_SyslogProtocol23Format
The message that gets logged as
2020-03-06T10:45:59+00:00 192.168.122.211 SdaStart.sh[4252] SdaReqMsg_AppReqMsg
There is no Priority and Protocol version displayed
I then add the following in conf file
$template RFC5424format,"<%PRI%>%PROTOCOL-VERSION% %TIMESTAMP:::date-rfc3339% %HOSTNAME% %APP-NAME% %PROCID% %MSGID% %STRUCTURED-DATA% %msg%/n"
The message is still the same. The Priority and Protocol version fields are not displayed
The text was updated successfully, but these errors were encountered:
I am trying to log messages to an external server
In the rsyslog.conf file, I've set the following
$ActionFileDefaultTemplate RSYSLOG_SyslogProtocol23Format
The message that gets logged as
2020-03-06T10:45:59+00:00 192.168.122.211 SdaStart.sh[4252] SdaReqMsg_AppReqMsg
There is no Priority and Protocol version displayed
I then add the following in conf file
$template RFC5424format,"<%PRI%>%PROTOCOL-VERSION% %TIMESTAMP:::date-rfc3339% %HOSTNAME% %APP-NAME% %PROCID% %MSGID% %STRUCTURED-DATA% %msg%/n"
The message is still the same. The Priority and Protocol version fields are not displayed
The text was updated successfully, but these errors were encountered: