# DLQ 7.1.0 not working

**URL:** <https://discuss.elastic.co/t/dlq-7-1-0-not-working/212543>\
**Category:** Logstash\
**Created:** [December 19, 2019, 6:24pm UTC](https://discuss.elastic.co/t/dlq-7-1-0-not-working/212543 "2019-12-19T18:24:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_McAfee1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/john_mcafee1/32/47236_2.png) [@John\_McAfee1](https://discuss.elastic.co/u/John_McAfee1)\
**Post date:** [December 19, 2019, 6:24pm UTC](https://discuss.elastic.co/t/dlq-7-1-0-not-working/212543/1 "2019-12-19T18:24:52Z")

</div>

I am using version 7.1.0 Elastic stack to ingest logs into Elasticsearch.  
When procssing the data, I encounter this ERROR message several times:

[2019-12-19T12:30:10,332][ERROR][logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backoff {:code=\>400, :url=\>"[https://172.31.xx.xx:443/\_bulk](https://172.31.xx.xx:443/_bulk)"}

After setting the log level to DEBUG mode in Logstash, it seems that I am trying to ingest files that do not have an ID field.So, this failure makes senses to me. However, since I am getting a 400 error, I thought this would be a good chance to use the dead\_letter\_queue to log the offending messages.

I configured my logstash.yml to enable DLQ per the documentation: [https://www.elastic.co/guide/en/logstash/current/dead-letter-queues.html#dlq-example](https://www.elastic.co/guide/en/logstash/current/dead-letter-queues.html#dlq-example)

logstash.yml  
......  
dead\_letter\_queue.enable: true  
dead\_letter\_queue.max\_bytes: 1024mb  
path.dead\_letter\_queue: "/usr/share/logstash/data/dead\_letter\_queue"

The correct directory is created for my pipeline in the dead\_letter\_queue directory.  
But the \*.log files have nothing in them. I expected to see the error messages or offending log entries.  
Have I misunderstood the DLQ?

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 16, 2020, 6:28pm UTC](https://discuss.elastic.co/t/dlq-7-1-0-not-working/212543/2 "2020-01-16T18:28:39Z")

</div>

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