Syslog output plugin log format is not proper

Hi,

I'm using the syslog output plugin to send events out to a remote syslog server. Below is my configuration:

output {
    syslog {
       host => "172.20.24.65"
       port => 514
       appname => "%{[kubernetes][container_name]}"
       procid => "%{[kubernetes][pod]}"
       rfc => "rfc5424"
    }
}

The logs that are received on the server look like following:

Mar  3 04:30:57 rogandhi-host eson[eson-3361257855-6yts2] TRACE CDB_NUM_INSTANCES /vks-group --> CONFD_OK

There are multiple problems with this:

  • The log message is in rfc3164 format instead of rfc5424 format
  • Priority, severity and version are not present as first section of the log message <13>1
  • The timestamp is not in proper format +YYYY-MM-dd'T'HH:mm:ss.SSSZZ

I'm using the syslog output version 3.0.1. I don't see any errors on the logstash logs.

Never mind. I was interpreting the log message wrong.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.