Hello, My graylog crash this weekend (I can’t find cause on log, nothing interesting in logs)
Problem was no log was stored in graylog since last friday 17’pm.
My problem is journal didn’t work.
After restart graylog/ES/mongo, no processing new messages, and no processing old messages from journal.
I tryed to delete .lock after stopping it, but same.
Finaly, I had to remove my /var/lib/graylog2/journal to process new messages again, and list my weekend data.
How may I prevent this lost ?
I’m on Graylog 3.3.3
When you say Graylog crashed, what do you mean? The graylog-server service stopped? If so there should be some information in the service log, assuming that the service was able to write the error information to disk. It sounds like your journal was corrupted since deleting it resolved the issue. Does the Graylog host have any errors in the system log relating to disk?
Hello @ttsandrew
Graylog “crashed” by not processing messages. I had nothing since friday.
When I restarted normally with journal process, Input/Output sec should growth a lot to reprocess messages in journal, and gradually count messages raises from crash date, to now.
But this time, nothing. No growth, no gradually message incoming., and no new logs…
I had to delete journal to get back new messages, and lost weekend messages
The crash seems be cause of an extractor consuming too much perf (I’m working on it), so no error logs.
did you checked if the journal size that is configured for graylog is exclusive available for graylog @Le-DOC
from my experience what you describe only happens if you are having a journal size configured that is not given and the journal corrupt itself by that.