micahhausler / logspout-gelf

Logspout Adapter for Graylog's GELF
MIT License
28 stars 61 forks source link

Error processing message has empty mandatory "short_message" field. #17

Open mahnunchik opened 5 years ago

mahnunchik commented 5 years ago

Hi,

I've faced with a lot of errors in graylog log:

2019-10-18 17:26:00,871 ERROR: org.graylog2.shared.buffers.processors.DecodingProcessor - Unable to decode raw message RawMessage{id=5ab0cf31-f1cc-11e9-b7b1-0242ac120004, journalOffset=378784467, codec=gelf, payloadSize=340, timestamp=2019-10-18T17:26:00.867Z, remoteAddress=/172.18.0.1:39977} on input <5a97ee82857aba000101e078>.
2019-10-18 17:26:00,876 ERROR: org.graylog2.shared.buffers.processors.DecodingProcessor - Error processing message RawMessage{id=5ab0cf31-f1cc-11e9-b7b1-0242ac120004, journalOffset=378784467, codec=gelf, payloadSize=340, timestamp=2019-10-18T17:26:00.867Z, remoteAddress=/172.18.0.1:39977}
java.lang.IllegalArgumentException: GELF message <5ab0cf31-f1cc-11e9-b7b1-0242ac120004> (received from <172.18.0.1:39977>) has empty mandatory "short_message" field.
    at org.graylog2.inputs.codecs.GelfCodec.validateGELFMessage(GelfCodec.java:252) ~[graylog.jar:?]
    at org.graylog2.inputs.codecs.GelfCodec.decode(GelfCodec.java:134) ~[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:86) [graylog.jar:?]
    at org.graylog2.shared.buffers.processors.ProcessBufferProcessor.onEvent(ProcessBufferProcessor.java:45) [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_222]