File output, disk full: messages lost?

Hi there,

I would like to save every message into a single textfile with file output. (filters will be applied later). I have tested the behaviour of logstash in the case of the disk full, and I was surprised: logstash crashed and started again, and crashed and started again until freeing up some disk space.
I tried with queue.type: persisted option also (queue files on another partition), and the behavior was the same.

It's a normal behaviour? How can I guarantee that all received messages will be written in the text file?
(logstash 5.6.0)

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.