Persistent Queues Never Writes Tail Files

Hi I have just started playing with logstash 5.4.0 persistent queues.
I have configured logstash to use persistent queues though this always writes to head and never rolls the head over to tail.

My logstash.yml is as follows;
queue.checkpoint.writes: 1
queue.type: persisted
path.queue: /usr/share/logstash/persisted-queues
queue.page_capacity: 1000mb

And creates
-rw-r--r-- 1 root root 1048576000 Feb 23 14:14 page.1
-rw-r--r-- 1 root root 34 Feb 23 14:14 checkpoint.head

a few minute later I get
-rw-r--r-- 1 root root 1048576000 Feb 23 14:15 page.1
-rw-r--r-- 1 root root 34 Feb 23 14:14 checkpoint.head

The size of the file remains consistent and when I cat the page file I can see it changing.

Many thanks in advance for any help and advice that anyone can share with me.

Simon

1 Like

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