Hi i am trying to update logstash from 7.9.0 to 7.16.2 (Using Helm chart ) Getting error.
Pipeline error {:pipeline_id=>"main", :exception=>#<LogStash::ConfigurationError: Could not connect to a compatible version of Elasticsearch>, :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-Elasticsearch-11.2.3-java/lib/logstash/outputs/Elasticsearch/http_client/pool.rb:247:in block in healthcheck!'", "org/jruby/RubyHash.java:1415:in each'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-Elasticsearch-11.2.3-java/lib/logstash/outputs/Elasticsearch/http_client/pool.rb:240:in `healthcheck!'
What version of Elasticsearch are you trying to connect to?
I do not know of a written description of what is compatible with what. The code is here (that if/elsif/else block is returning false, which can happen in several ways). It hits the Elasticsearch root URL, parses the JSON it gets back, and checks some of the values.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.