Hi All,
We have built customized beats for our environment to get monitor data and data will be sending to beat port(5044) in graylog.
Once the data is received in beats input we are getting the below error in graylog server.log,
2019-07-10T18:20:24.279Z ERROR [DecodingProcessor] Unable to decode raw message RawMessage{id=62826290-a33f-11e9-a847-0242579a69fb, journalOffset=24249, codec=beats, payloadSize=581, timestamp=2019-07-10T18:20:24.249Z, remoteAddress=/104.500.148.156:40820} on input <5d258efddbd26c04a8c32b55>.
2019-07-10T18:20:24.280Z ERROR [DecodingProcessor] Unable to decode raw message RawMessage{id=628289a0-a33f-11e9-a847-0242579a69fb, journalOffset=24250, codec=beats, payloadSize=581, timestamp=2019-07-10T18:20:24.250Z, remoteAddress=/104.340.148.196:40820} on input <5d258efddbd26c04a8c32b55>.
2019-07-10T18:20:24.281Z ERROR [DecodingProcessor] Error processing message RawMessage{id=628289a0-a33f-11e9-a847-0242579a69fb, journalOffset=24250, codec=beats, payloadSize=581, timestamp=2019-07-10T18:20:24.250Z, remoteAddress=/104.315.148.186:40820}
java.lang.IllegalArgumentException: Invalid format: "2019-07-10T23:43:27+0530" is malformed at "+0530"
at org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:945) ~[graylog.jar:?]
at org.graylog2.plugin.Tools.dateTimeFromString(Tools.java:337) ~[graylog.jar:?]
at org.graylog.plugins.beats.Beats2Codec.parseEvent(Beats2Codec.java:86) ~[graylog.jar:?]
at org.graylog.plugins.beats.Beats2Codec.decode(Beats2Codec.java:78) ~[graylog.jar:?]
at org.graylog2.shared.buffers.processors.DecodingProcessor.processMessage(DecodingProcessor.java:150) ~[graylog.jar:?]
at org.graylog2.shared.buffers.processors.DecodingProcessor.onEvent(DecodingProcessor.java:91) [graylog.jar:?]
at org.graylog2.shared.buffers.processors.ProcessBufferProcessor.onEvent(ProcessBufferProcessor.java:74) [graylog.jar:?]
at org.graylog2.shared.buffers.processors.ProcessBufferProcessor.onEvent(ProcessBufferProcessor.java:42) [graylog.jar:?]
at com.lmax.disruptor.WorkProcessor.run(WorkProcessor.java:143) [graylog.jar:?]
at com.codahale.metrics.InstrumentedThreadFactory$InstrumentedRunnable.run(InstrumentedThreadFactory.java:66) [graylog.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
Not sure how the timezone is appending to the date to the timestamp field.
Please kindly share your thoughts…
Regards,
Ganeshbabu R