Graylof syslog output plugin cef format not working for nginx logs stream

graylog version:3.3.2

Graylog syslog output plugin version:3.3.0

2021-05-11T09:21:32.057+02:00 ERROR [OutputBufferProcessor] Error in output [class com.wizecore.graylog2.plugin.SyslogOutput].
java.lang.ClassCastException: Cannot cast java.lang.String to org.joda.time.DateTime
at java.lang.Class.cast( ~[?:1.8.0_275]
at org.graylog2.plugin.Message.getFieldAs( ~[graylog.jar:?]
at org.graylog2.plugin.Message.getTimestamp( ~[graylog.jar:?]
at com.wizecore.graylog2.plugin.CEFSender.send( ~[?:?]
at com.wizecore.graylog2.plugin.SyslogOutput.write( ~[?:?]
at org.graylog2.buffers.processors.OutputBufferProcessor$ [graylog.jar:?]
at com.codahale.metrics.InstrumentedExecutorService$ [graylog.jar:?]
at java.util.concurrent.Executors$ [?:1.8.0_275]
at [?:1.8.0_275]
at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:1.8.0_275]
at java.util.concurrent.ThreadPoolExecutor$ [?:1.8.0_275]
at [?:1.8.0_275]

Could you please help with this?


Kindly help with this?

Hello and Welcome.

From what I can see from what you posted, this may be a direct result in a configuration problem but I’m unsure at this point.

To help troubleshoot your issue we may need some more details about your environment.

If you’re unsure what you need then this may enlighten you.

Hope that helps

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