And from the time it crashed before:
2022-06-18 20:49:14,537 DEBUG: org.graylog2.messageprocessors.MessageFilterChainProcessor - Applying filter [StreamMatcher] on message <bb434991-ef3f-11ec-a1dc-0242ac13000b>.
2022-06-18 20:49:14,537 DEBUG: org.graylog2.messageprocessors.MessageFilterChainProcessor - Applying filter [Static field appender] on message <bb434992-ef3f-11ec-a1dc-0242ac13000b>.
2022-06-18 20:49:14,537 DEBUG: org.graylog2.messageprocessors.MessageFilterChainProcessor - Applying filter [StreamMatcher] on message <bb434992-ef3f-11ec-a1dc-0242ac13000b>.
2022-06-18 20:49:14,537 DEBUG: org.graylog2.shared.buffers.JournallingMessageHandler - End of batch, journaling 1 messages
2022-06-18 20:49:14,537 DEBUG: org.graylog2.filters.StreamMatcherFilter - Routed message <bb434990-ef3f-11ec-a1dc-0242ac13000b> to 3 streams.
2022-06-18 20:49:14,537 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Trying to write ByteBufferMessageSet with size of 423 bytes to journal
2022-06-18 20:49:14,537 DEBUG: org.graylog2.buffers.processors.OutputBufferProcessor - Processing message <bb434990-ef3f-11ec-a1dc-0242ac13000b> from OutputBuffer.
2022-06-18 20:49:14,537 DEBUG: org.graylog2.buffers.processors.OutputBufferProcessor - Writing message to [class org.graylog2.outputs.BlockingBatchedESOutput].
2022-06-18 20:49:14,537 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Wrote 1 messages to journal: 423 bytes (payload 381 bytes), log position 18751652 to 18751652
2022-06-18 20:49:14,537 DEBUG: org.graylog2.shared.messageq.localkafka.LocalKafkaMessageQueueWriter - Processed batch, last journal offset: 18751652, signalling reader.
2022-06-18 20:49:14,537 DEBUG: org.graylog2.shared.buffers.JournallingMessageHandler - End of batch, journaling 2 messages
2022-06-18 20:49:14,537 DEBUG: org.graylog2.buffers.processors.OutputBufferProcessor - Wrote message <bb434990-ef3f-11ec-a1dc-0242ac13000b> to all outputs. Finished handling.
2022-06-18 20:49:14,537 DEBUG: org.graylog2.shared.messageq.localkafka.LocalKafkaMessageQueueReader - Messages have been written to Journal, continuing to read.
2022-06-18 20:49:14,537 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Trying to write ByteBufferMessageSet with size of 922 bytes to journal
2022-06-18 20:49:14,537 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Requesting to read a maximum of 65534 messages (or 5MB) from the journal, offset interval [18751652, 18817186)
2022-06-18 20:49:14,538 DEBUG: org.graylog2.filters.StreamMatcherFilter - Routed message <bb434991-ef3f-11ec-a1dc-0242ac13000b> to 3 streams.
2022-06-18 20:49:14,538 DEBUG: org.graylog2.buffers.processors.OutputBufferProcessor - Processing message <bb434991-ef3f-11ec-a1dc-0242ac13000b> from OutputBuffer.
2022-06-18 20:49:14,538 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Wrote 2 messages to journal: 922 bytes (payload 838 bytes), log position 18751653 to 18751654
2022-06-18 20:49:14,538 DEBUG: org.graylog2.shared.messageq.localkafka.LocalKafkaMessageQueueWriter - Processed batch, last journal offset: 18751654, signalling reader.
2022-06-18 20:49:14,538 DEBUG: org.graylog2.shared.buffers.JournallingMessageHandler - End of batch, journaling 2 messages
2022-06-18 20:49:14,538 DEBUG: org.graylog2.buffers.processors.OutputBufferProcessor - Writing message to [class org.graylog2.outputs.BlockingBatchedESOutput].
2022-06-18 20:49:14,538 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Trying to write ByteBufferMessageSet with size of 918 bytes to journal
2022-06-18 20:49:14,538 DEBUG: org.graylog2.buffers.processors.OutputBufferProcessor - Wrote message <bb434991-ef3f-11ec-a1dc-0242ac13000b> to all outputs. Finished handling.
2022-06-18 20:49:14,538 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Wrote 2 messages to journal: 918 bytes (payload 834 bytes), log position 18751655 to 18751656
2022-06-18 20:49:14,538 DEBUG: org.graylog2.shared.messageq.localkafka.LocalKafkaMessageQueueWriter - Processed batch, last journal offset: 18751656, signalling reader.
2022-06-18 20:49:14,538 DEBUG: org.graylog2.filters.StreamMatcherFilter - Routed message <bb434992-ef3f-11ec-a1dc-0242ac13000b> to 3 streams.
2022-06-18 20:49:14,538 DEBUG: org.graylog2.buffers.processors.OutputBufferProcessor - Processing message <bb434992-ef3f-11ec-a1dc-0242ac13000b> from OutputBuffer.
2022-06-18 20:49:14,538 DEBUG: org.graylog2.buffers.processors.OutputBufferProcessor - Writing message to [class org.graylog2.outputs.BlockingBatchedESOutput].
2022-06-18 20:49:14,538 DEBUG: org.graylog2.buffers.processors.OutputBufferProcessor - Wrote message <bb434992-ef3f-11ec-a1dc-0242ac13000b> to all outputs. Finished handling.
2022-06-18 20:49:14,539 ERROR: com.google.common.util.concurrent.ServiceManager - Service LocalKafkaMessageQueueReader [FAILED] has failed in the RUNNING state.
java.lang.IllegalStateException: Invalid message size: 0
at org.graylog.shaded.kafka09.log.FileMessageSet.searchFor(FileMessageSet.scala:141) ~[graylog.jar:?]
at org.graylog.shaded.kafka09.log.LogSegment.translateOffset(LogSegment.scala:105) ~[graylog.jar:?]
at org.graylog.shaded.kafka09.log.LogSegment.read(LogSegment.scala:148) ~[graylog.jar:?]
at org.graylog.shaded.kafka09.log.Log.read(Log.scala:506) ~[graylog.jar:?]
at org.graylog2.shared.journal.LocalKafkaJournal.read(LocalKafkaJournal.java:677) ~[graylog.jar:?]
at org.graylog2.shared.journal.LocalKafkaJournal.readNext(LocalKafkaJournal.java:617) ~[graylog.jar:?]
at org.graylog2.shared.journal.LocalKafkaJournal.read(LocalKafkaJournal.java:599) ~[graylog.jar:?]
at org.graylog2.shared.messageq.localkafka.LocalKafkaMessageQueueReader.run(LocalKafkaMessageQueueReader.java:110) ~[graylog.jar:?]
at com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:67) [graylog.jar:?]
at com.google.common.util.concurrent.Callables$4.run(Callables.java:121) [graylog.jar:?]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_332]
2022-06-18 20:49:14,539 DEBUG: org.graylog2.shared.buffers.JournallingMessageHandler - End of batch, journaling 1 messages
2022-06-18 20:49:14,540 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Trying to write ByteBufferMessageSet with size of 419 bytes to journal
2022-06-18 20:49:14,540 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Wrote 1 messages to journal: 419 bytes (payload 377 bytes), log position 18751657 to 18751657
2022-06-18 20:49:14,540 DEBUG: org.graylog2.shared.messageq.localkafka.LocalKafkaMessageQueueWriter - Processed batch, last journal offset: 18751657, signalling reader.
2022-06-18 20:49:14,540 DEBUG: org.graylog2.shared.buffers.JournallingMessageHandler - End of batch, journaling 1 messages
2022-06-18 20:49:14,540 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Trying to write ByteBufferMessageSet with size of 486 bytes to journal
2022-06-18 20:49:14,540 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Wrote 1 messages to journal: 486 bytes (payload 444 bytes), log position 18751658 to 18751658
2022-06-18 20:49:14,540 DEBUG: org.graylog2.shared.initializers.InputSetupService - Lifecycle is now Failed [LB:DEAD]
2022-06-18 20:49:14,540 DEBUG: org.graylog2.shared.messageq.localkafka.LocalKafkaMessageQueueWriter - Processed batch, last journal offset: 18751658, signalling reader.
2022-06-18 20:49:14,541 DEBUG: org.graylog2.shared.buffers.JournallingMessageHandler - End of batch, journaling 1 messages
2022-06-18 20:49:14,541 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Trying to write ByteBufferMessageSet with size of 620 bytes to journal
2022-06-18 20:49:14,541 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Wrote 1 messages to journal: 620 bytes (payload 578 bytes), log position 18751659 to 18751659
2022-06-18 20:49:14,541 DEBUG: org.graylog2.shared.messageq.localkafka.LocalKafkaMessageQueueWriter - Processed batch, last journal offset: 18751659, signalling reader.
2022-06-18 20:49:14,543 DEBUG: org.graylog2.shared.buffers.JournallingMessageHandler - End of batch, journaling 2 messages
2022-06-18 20:49:14,543 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Trying to write ByteBufferMessageSet with size of 846 bytes to journal
2022-06-18 20:49:14,543 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Wrote 2 messages to journal: 846 bytes (payload 762 bytes), log position 18751660 to 18751661
2022-06-18 20:49:14,543 DEBUG: org.graylog2.shared.messageq.localkafka.LocalKafkaMessageQueueWriter - Processed batch, last journal offset: 18751661, signalling reader.
2022-06-18 20:49:14,543 DEBUG: org.graylog2.shared.buffers.JournallingMessageHandler - End of batch, journaling 2 messages
2022-06-18 20:49:14,543 DEBUG: org.graylog2.shared.journal.LocalKafkaJournal - Trying to write ByteBufferMessageSet with size of 984 bytes to journal