Error_message=>"undefined method `sanitized'

Hi there,

I ELK version is 5.6, and logstash received the log.From log, it complains ""undefined method `sanitized' "

Every time, it's normal when it's just started. Slowly, this error will occur frequently in the log; suddenly one day, I found that the index data is not updated, and there are many such errors in checking the log. At this point, I need to restart to restore normal.

Please help.

Thanks and Regards,
yun

[2018-12-07T06:02:38,323][ERROR][logstash.outputs.elasticsearch] Encountered an unexpected error submitting a bulk request! Will retry. {:error_message=>"undefined method sanitized' for \"http://10.0.67.7:9222/_bulk\":String", :class=>"NoMethodError", :backtrace=>["/rmp/logstash-5.6.1/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.4.0-java/lib/logstash/outputs/elasticsearch/common.rb:249:insafe_bulk'", "/rmp/logstash-5.6.1/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.4.0-java/lib/logstash/outputs/elasticsearch/common.rb:222:in safe_bulk'", "/rmp/logstash-5.6.1/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.4.0-java/lib/logstash/outputs/elasticsearch/common.rb:119:insubmit'", "/rmp/logstash-5.6.1/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.4.0-java/lib/logstash/outputs/elasticsearch/common.rb:87:in retrying_submit'", "/rmp/logstash-5.6.1/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.4.0-java/lib/logstash/outputs/elasticsearch/common.rb:38:inmulti_receive'", "/rmp/logstash-5.6.1/logstash-core/lib/logstash/output_delegator_strategies/shared.rb:13:in multi_receive'", "/rmp/logstash-5.6.1/logstash-core/lib/logstash/output_delegator.rb:49:inmulti_receive'", "/rmp/logstash-5.6.1/logstash-core/lib/logstash/pipeline.rb:436:in output_batch'", "org/jruby/RubyHash.java:1342:ineach'", "/rmp/logstash-5.6.1/logstash-core/lib/logstash/pipeline.rb:435:in output_batch'", "/rmp/logstash-5.6.1/logstash-core/lib/logstash/pipeline.rb:381:inworker_loop'", "/rmp/logstash-5.6.1/logstash-core/lib/logstash/pipeline.rb:342:in `start_workers'"]}

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