Persistent Queues with multiple logstash processes

We are using the official logstash docker image and want to use the persistent queue feature (using the default path.queue, LOGSTASH_HOME/data/queue, and mounting it to something like /etc/logstash/queue/ on the host).

Is a queue only intended to be used by a single logstash process/container (1 container to 1 host), or is it supported for multiple logstash processes/containers to read to and write from a single queue (the preferred scenario, multiple logstash containers per host, all mounting /etc/logstash/queue/).

I would expect the latter scenario to be okay (similar to having multiple logstash processes read from an external queue), but it wasn't explicitly mentioned in the persistent queue doc.

Logstash persistent queues are not shared. Nd configured per instance.

1 Like

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