How to monitor the number of events in Dead letter queue

Hi Team,

We have configured Dead Letter Queue(DLQ) in our Logstash layer.
We want to be alerted when the number of events in DLQ increase beyond a certain limit.

I tried going through the Logstash Monitoring docs, but didn't find. way a metric for this.

Please help in this regard.

Hi,

I don't know if this is still up to date but would something like this work for you? Monitoring dead letter queue (DLQ)

There is a LogStash REST API which exposes LogStash metrics and according to this post there is a field describing the dlq size in bytes.

Best regards
Wolfram

Hi Wolfram,

Thanks for the reply. The size of the dead letter queue can be found out using the REST API.
It would have been better if the metric could have been a part of the .monitoring-logstash indices.

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