Hi,
My Elastic Stack solution works fine until, seemingly at random, logstash instances starts to log this exception and stops inputting into the elastic search cluster.
[2017-10-16T13:00:57,215][ERROR][logstash.outputs.elasticsearch] Encountered an unexpected error submitting a bulk request! Will retry. {:error_message=>"undefined method `sanitized' for \"http://10.44.129.198:9200/_bulk\":String", :class=>"NoMethodError", :backtrace=>["c:/Work/files/ELK/logstash-5.6.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.4.0-java/lib/logstash/outputs/elasticsearch/common.rb:249:in `safe_bulk'", "c:/Work/files/ELK/logstash-5.6.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.4.0-java/lib/logstash/outputs/elasticsearch/common.rb:222:in `safe_bulk'", "c:/Work/files/ELK/logstash-5.6.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.4.0-java/lib/logstash/outputs/elasticsearch/common.rb:119:in `submit'", "c:/Work/files/ELK/logstash-5.6.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.4.0-java/lib/logstash/outputs/elasticsearch/common.rb:87:in `retrying_submit'", "c:/Work/files/ELK/logstash-5.6.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.4.0-java/lib/logstash/outputs/elasticsearch/common.rb:38:in `multi_receive'", "c:/Work/files/ELK/logstash-5.6.2/logstash-core/lib/logstash/output_delegator_strategies/shared.rb:13:in `multi_receive'", "c:/Work/files/ELK/logstash-5.6.2/logstash-core/lib/logstash/output_delegator.rb:49:in `multi_receive'", "c:/Work/files/ELK/logstash-5.6.2/logstash-core/lib/logstash/pipeline.rb:436:in `output_batch'", "org/jruby/RubyHash.java:1342:in `each'", "c:/Work/files/ELK/logstash-5.6.2/logstash-core/lib/logstash/pipeline.rb:435:in `output_batch'", "c:/Work/files/ELK/logstash-5.6.2/logstash-core/lib/logstash/pipeline.rb:381:in `worker_loop'", "c:/Work/files/ELK/logstash-5.6.2/logstash-core/lib/logstash/pipeline.rb:342:in `start_workers'"]}
Please, what is the cause of this issue and how can I fix it?
Kind Regards,
Hyder