Error sending data from logstash to elasticsearch

[2022-03-09T14:40:58,425][ERROR][logstash.outputs.Elasticsearch][main][6c4be64292281ece43eb3c0a90ef5aa3634da5f79c62d74a63d7a5637e24049b] Encountered an unexpected error submitting a bulk request! Will retry. {:error_message=>"Sent 125 documents but Elasticsearch returned 124 responses (likely a bug with _bulk endpoint)", :class=>"RuntimeError", :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-Elasticsearch-10.8.6-java/lib/logstash/plugin_mixins/Elasticsearch/common.rb:212:in submit'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-10.8.6-java/lib/logstash/plugin_mixins/elasticsearch/common.rb:160:in retrying_submit'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-Elasticsearch-10.8.6-java/lib/logstash/outputs/Elasticsearch.rb:303:in multi_receive'", "org/logstash/config/ir/compiler/OutputStrategyExt.java:143:in multi_receive'", "org/logstash/config/ir/compiler/AbstractOutputDelegatorExt.java:121:in multi_receive'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:295:in block in start_workers'"]}

Getting this error sometimes randomly when sending data from logstash to Elasticsearch.
What could be the reason?

The error message itself answers that: "likely a bug with _bulk endpoint". I would ask about it in the Elasticsearch forum.

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