# Elasticsearch ack to logstash

**URL:** <https://discuss.elastic.co/t/elasticsearch-ack-to-logstash/361879>\
**Category:** Elastic Search\
**Created:** [June 22, 2024, 10:59am UTC](https://discuss.elastic.co/t/elasticsearch-ack-to-logstash/361879 "2024-06-22T10:59:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![test\_test2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/test_test2/32/125749_2.png) [@test\_test2](https://discuss.elastic.co/u/test_test2)\
**Post date:** [June 22, 2024, 10:59am UTC](https://discuss.elastic.co/t/elasticsearch-ack-to-logstash/361879/1 "2024-06-22T10:59:26Z")

</div>

hi i have a rabbitmq server sending data from queue 1 to logstash and logstash is inserting data to elasticsearch i need when the insertion of data to elastic wasnt sucessfull the data be sent to queue2 on my rabbitmq

is there a way to get the elastic ack as indexing data in logstash ?

---

<div class="post-metadata">

**Author:** ![ashishtiwari1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashishtiwari1993/32/135241_2.png) [@ashishtiwari1993](https://discuss.elastic.co/u/ashishtiwari1993)\
**Post date:** [June 22, 2024, 12:07pm UTC](https://discuss.elastic.co/t/elasticsearch-ack-to-logstash/361879/2 "2024-06-22T12:07:40Z")

</div>

Hi @test_test2, Please add your proper profile info. It is difficult to trust / answer anonymous username like (test\_test2 or Test\_Test1).

You can give a try to [DLQ (Dead letter queue)](https://www.elastic.co/guide/en/logstash/current/dead-letter-queues.html).

The dead letter queue (DLQ) is designed as a place to temporarily write events that cannot be processed. The DLQ gives you flexibility to investigate problematic events without blocking the pipeline or losing the events.

---

<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:** [July 20, 2024, 12:08pm UTC](https://discuss.elastic.co/t/elasticsearch-ack-to-logstash/361879/3 "2024-07-20T12:08:10Z")

</div>

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