Hello,
In my lab I have an Opensearch node and I want to process data with Logstash-oss-with-opensearch. For that reason I am using the Logstash Elasticsearch Input plugin (NOT output, I know there is a specific opensearch output plugin).
Since I am running latest Opensearch, 1.2.4, I assumed the latest Logstash-OSS with opensearch plugin 7.16.2 (from the same page) would work. Unfortunately running the 7.16.2, I get:
[2022-02-08T10:09:52,398][ERROR][logstash.javapipeline ][main] Pipeline error {:pipeline_id=>"main", :exception=>#<LogStash::ConfigurationError: Could not connect to a compatible version of Elasticsearch>, :backtrace=>["/home/dcvythoulkas/workspace/logstash/logstash-oss-7.16.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-elasticsearch-4.12.1/lib/logstash/inputs/elasticsearch.rb:481:in `test_connection!'", "/home/dcvythoulkas/workspace/logstash/logstash-oss-7.16.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-elasticsearch-4.12.1/lib/logstash/inputs/elasticsearch.rb:243:in `register'", "/home/dcvythoulkas/workspace/logstash/logstash-oss-7.16.2/vendor/bundle/jruby/2.5.0/gems/logstash-mixin-ecs_compatibility_support-1.3.0-java/lib/logstash/plugin_mixins/ecs_compatibility_support/target_check.rb:48:in `register'", "/home/dcvythoulkas/workspace/logstash/logstash-oss-7.16.2/logstash-core/lib/logstash/java_pipeline.rb:232:in `block in register_plugins'", "org/jruby/RubyArray.java:1821:in `each'", "/home/dcvythoulkas/workspace/logstash/logstash-oss-7.16.2/logstash-core/lib/logstash/java_pipeline.rb:231:in `register_plugins'", "/home/dcvythoulkas/workspace/logstash/logstash-oss-7.16.2/logstash-core/lib/logstash/java_pipeline.rb:390:in `start_inputs'", "/home/dcvythoulkas/workspace/logstash/logstash-oss-7.16.2/logstash-core/lib/logstash/java_pipeline.rb:315:in `start_workers'", "/home/dcvythoulkas/workspace/logstash/logstash-oss-7.16.2/logstash-core/lib/logstash/java_pipeline.rb:189:in `run'", "/home/dcvythoulkas/workspace/logstash/logstash-oss-7.16.2/logstash-core/lib/logstash/java_pipeline.rb:141:in `block in start'"], "pipeline.sources"=>["/home/dcvythoulkas/workspace/logstash/elk-lab-export.conf"], :thread=>"#<Thread:0x66024e6d run>"}
Versions up to 7.13.2 work with no issues. Is this incompatibility because of this or is it something else I am missing?
Thanks,
dcv