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(Class.java:3369) ~[?:1.8.0_275]
at org.graylog2.plugin.Message.getFieldAs(Message.java:643) ~[graylog.jar:?]
at org.graylog2.plugin.Message.getTimestamp(Message.java:349) ~[graylog.jar:?]
at com.wizecore.graylog2.plugin.CEFSender.send(CEFSender.java:120) ~[?:?]
at com.wizecore.graylog2.plugin.SyslogOutput.write(SyslogOutput.java:220) ~[?:?]
at org.graylog2.buffers.processors.OutputBufferProcessor$1.run(OutputBufferProcessor.java:191) [graylog.jar:?]
at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:181) [graylog.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_275]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_275]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_275]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_275]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]

Could you please help with this?

Dears,

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.

https://community.graylog.org/t/community-guidelines/6649#before-ask
Hope that helps

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