[ERROR][logstash.outputs.elasticsearch][main] Encountered a retryable error (will retry with exponential backoff) {:code=>400, :url=>"http://127.0.0.1:9200/_bulk", :content_length=>137306}

we are facing above issue while uploading large sets of data from postgres table.

based on basic research it looks like, its because of malfunctioned data.

how to fix this ? how to identify what data is causing this issue.

tried on logstash 8.2.0 and 7.1.5, issue is same.No errors on Elasticsearch,
Please help TIA

Welcome to our community! :smiley:

It'd be handy if you could please post the entire error you are seeing.

2022-05-23T16:58:04,465][ERROR][logstash.outputs.Elasticsearch][main][22688175efc481c9ec82bea14cbf17c4ddb2d61eb55c743b4fb8c628613c91cd] Encountered a retryable error (will retry with exponential backoff) {:code=>400, :url=>"http://127.0.0.1:9200/_bulk", :content_length=>137763}

[2022-05-23T16:58:07,162][ERROR][logstash.outputs.Elasticsearch][main][22688175efc481c9ec82bea14cbf17c4ddb2d61eb55c743b4fb8c628613c91cd] Encountered a retryable error (will retry with exponential backoff) {:code=>400, :url=>"http://127.0.0.1:9200/_bulk", :content_length=>137763}

[2022-05-23T16:58:11,251][ERROR][logstash.outputs.Elasticsearch][main][22688175efc481c9ec82bea14cbf17c4ddb2d61eb55c743b4fb8c628613c91cd] Encountered a retryable error (will retry with exponential backoff) {:code=>400, :url=>"http://127.0.0.1:9200/_bulk", :content_length=>137763}

[2022-05-23T16:58:11,629][ERROR][logstash.outputs.Elasticsearch][main][22688175efc481c9ec82bea14cbf17c4ddb2d61eb55c743b4fb8c628613c91cd] Encountered a retryable error (will retry with exponential backoff) {:code=>400, :url=>"http://127.0.0.1:9200/_bulk", :content_length=>137049}

[2022-05-23T16:58:13,901][ERROR][logstash.outputs.Elasticsearch][main][22688175efc481c9ec82bea14cbf17c4ddb2d61eb55c743b4fb8c628613c91cd] Encountered a retryable error (will retry with exponential backoff) {:code=>400, :url=>"http://127.0.0.1:9200/_bulk", :content_length=>136787}

[2022-05-23T16:58:19,343][ERROR][logstash.outputs.Elasticsearch][main][22688175efc481c9ec82bea14cbf17c4ddb2d61eb55c743b4fb8c628613c91cd] Encountered a retryable error (will retry with exponential backoff) {:code=>400, :url=>"http://127.0.0.1:9200/_bulk", :content_length=>137763}

[2022-05-23T16:58:19,435][ERROR][logstash.outputs.Elasticsearch][main][22688175efc481c9ec82bea14cbf17c4ddb2d61eb55c743b4fb8c628613c91cd] Encountered a retryable error (will retry with exponential backoff) {:code=>400, :url=>"http://127.0.0.1:9200/_bulk", :content_length=>138585}

this is the error we see immediately after running conf_tmpl file.

Is there anything in the Elasticsearch logs?

nothing, it looks like never reached Elasticsearch