# How to monitor the number of events in Dead letter queue

**URL:** <https://discuss.elastic.co/t/how-to-monitor-the-number-of-events-in-dead-letter-queue/271410>\
**Category:** Logstash\
**Created:** [April 27, 2021, 4:26pm UTC](https://discuss.elastic.co/t/how-to-monitor-the-number-of-events-in-dead-letter-queue/271410 "2021-04-27T16:26:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)\
**Post date:** [April 27, 2021, 5:11pm UTC](https://discuss.elastic.co/t/how-to-monitor-the-number-of-events-in-dead-letter-queue/271410/2 "2021-04-27T17:11:49Z")

</div>

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)](https://discuss.elastic.co/t/monitoring-dead-letter-queue-dlq/166715)

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

---

_[View the full topic](https://discuss.elastic.co/t/how-to-monitor-the-number-of-events-in-dead-letter-queue/271410)._
