Hello All
Happy New Year to everyone!
In order to fix the log4j vulnerability, I tried to install the latest logstah oss version 7.16.2 and we are using OpenDistro ElasticSearch of version 1.13.3 ( recently upgraded from 1.13.2 to 1.13.3 due to log4j issue).
I could notice 'Compatibility errors" after installing and starting the logstash service.
Please let us know if the logstash-oss 7.16.2 is not compatible with OpenDistro ElasticSearch 1.13.3.
If yes, could you please confirm if this will be fixed in the future logstash-oss versions?
Error logs:
Sending Logstash logs to /var/log/logstash which is now configured via log4j2.properties
[2022-01-03T13:39:33,407][INFO ][logstash.runner ] Log4j configuration path used is: /etc/logstash/log4j2.properties
[2022-01-03T13:39:33,421][INFO ][logstash.runner ] Starting Logstash {“logstash.version”=>“7.16.2”, “jruby.version”=>“jruby 9.2.20.1 (2.5.8) 2021-11-30 2a2962fbd1 OpenJDK 64-Bit Server VM 25.302-b08 on 1.8.0_302-b08 +indy +jit [linux-x86_64]”}
[2022-01-03T13:39:34,743][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600, :ssl_enabled=>false}
[2022-01-03T13:39:36,327][INFO ][org.reflections.Reflections] Reflections took 70 ms to scan 1 urls, producing 119 keys and 417 values
[2022-01-03T13:39:37,703][INFO ][logstash.outputs.elasticsearch][main] New Elasticsearch output {:class=>“LogStash::Outputs::ElasticSearch”, :hosts=>[“https://msb-elk.de050.corpintra.net:9200”]}
[2022-01-03T13:39:37,742][WARN ][logstash.outputs.elasticsearch][main] ** WARNING ** Detected UNSAFE options in elasticsearch output configuration!
** WARNING ** You have enabled encryption but DISABLED certificate verification.
** WARNING ** To make sure your data is secure change :ssl_certificate_verification to true
[2022-01-03T13:39:38,072][INFO ][logstash.outputs.elasticsearch][main] Elasticsearch pool URLs updated {:changes=>{:removed=>, :added=>[https://elastic:xxxxxx@msb-elk.de050.corpintra.net:9200/]}}
[2022-01-03T13:39:38,479][ERROR][logstash.javapipeline ][main] 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!'”
Thanks in advance!