# Dead Letter Queue (DLQ) issue

**URL:** <https://discuss.elastic.co/t/dead-letter-queue-dlq-issue/146757>\
**Category:** Logstash\
**Created:** [August 30, 2018, 5:46pm UTC](https://discuss.elastic.co/t/dead-letter-queue-dlq-issue/146757 "2018-08-30T17:46:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kernelpanic](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@kernelpanic](https://discuss.elastic.co/u/kernelpanic)\
**Post date:** [August 30, 2018, 5:46pm UTC](https://discuss.elastic.co/t/dead-letter-queue-dlq-issue/146757/1 "2018-08-30T17:46:22Z")

</div>

Hello,

I'm using Logstash 6.3.2 and I've enabled the DLQ but it doesn't appear to be indexing the events back into Elasticsearch; the log files in the DLQ data directory just keep growing and all i'm seeing in logstash-plain.log is:

> [WARN][org.logstash.common.io.DeadLetterQueueWriter] Event previously submitted to dead letter queue. Skipping...

I have the following in my logstash.conf file to repair the DLQ messages so they can be indexed into Elasticsearch:

```
if "dlq" in [tags] {
      mutate {
        convert => {
          "src_ip" => "string"
          "dst_ip" => "string"
       }          
     }
    } 

```

However the repaired messages I'm expecting to see in Elasticsearch aren't there.

Can anyone help?

---

<div class="post-metadata">

**Author:** ![kernelpanic](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@kernelpanic](https://discuss.elastic.co/u/kernelpanic)\
**Post date:** [August 31, 2018, 10:02am UTC](https://discuss.elastic.co/t/dead-letter-queue-dlq-issue/146757/2 "2018-08-31T10:02:42Z")

</div>

If I remove the problematic fields as below:

```
if "dlq" in [tags] {
     mutate { remove_field => ["src_ip", "dst_ip"] } 
     }

```

I no longer see the "Event previously submitted to dead letter queue. Skipping..." error in the Logstash log, however the message is still not indexed into Elasticsearch.

Anyone?

---

<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:** [September 28, 2018, 10:02am UTC](https://discuss.elastic.co/t/dead-letter-queue-dlq-issue/146757/3 "2018-09-28T10:02:47Z")

</div>

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