[2018-05-27T08:46:23,536][ERROR][logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backoff {:code=>413, :url=>"http://elasticsearch_address:9200/_bulk"}

Continuing the discussion from Logstash stuck on "Will Retry with exponential backoff":

we are seeing below error in logstash logs

[2022-06-10T04:59:38,367][ERROR][logstash.filters.ruby    ] Ruby exception occurred: 
[2022-06-10T04:59:47,243][ERROR][logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backoff  {:code=>413, :url=>"http://elasticsearch:9200/_bulk"}

we tried to update below parameter values in Elasticsearch and logstash, no luck

Elasticsearch.yml: :

http.compression: true
http.max_content_length: 1200mb
http.max_header_size: 32kb
http.max_initial_line_length: 16kb
http.pipelining.max_events: 100000

logstash.yaml:

pipeline.batch.size: 125

Requesting your help please?