I am trying to modify Logstash 7.6 in order to send failed messages to a SQS DLQ [1]. Specifically, I need this modification when Logstash uses a SQS input plugin and elasticsearch output plugin. I do not use nothing in filter part. That is, I have two queues a main queue and its SQS DLQ. The file I am trying to modify is [2]. Only to see if this work I am trying to add an abort after line 325, but the SQS DLQ associated to the main SQS not received any message. Could you give some advice, please?
PDTA: I know that logstash has its own dlq but I want a SQS DLQ.