Elasticsearch ack to logstash

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 ?

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).

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.