We had an OutOfMemoryException
in our logstash 5.6.6 which lead to the checkpoint. head
file not to be written properly:
ls -l /var/lib/logstash/queue/main/
total 266424
-rw-r--r-- 1 logstash logstash 34 Mar 1 20:33 checkpoint.55779
-rw-r--r-- 1 logstash logstash 0 Mar 1 20:34 checkpoint.head
-rw-r--r-- 1 logstash logstash 262144000 Mar 1 20:33 page.55779
-rw-r--r-- 1 logstash logstash 262144000 Mar 1 20:34 page.55780
Is there a way to repair the checkpoint.head
or at least to get page 55779 to be loaded into the pipeline so we don't loose a couple thousand events?