What happens on shutdown if queue.drain is true but output is unavailable?

Hi there,

I'm currently running Logstash on Kubernetes and have configured a pipeline with a Persistent Queue and the setting queue.drain: true. In this setup, I'm curious about Logstash's behavior when it receives a SIGTERM signal and encounters a scenario where the output is unavailable.

Specifically, does Logstash indefinitely wait to drain the queue, risking ungraceful termination, or does it detect the output failure and proceed with the shutdown, leaving messages queued?

Thank you.

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