Could not connect to a compatible version of Elasticsearch - Opensearch 2.9.0-1 - Logstash OutputPlugin 8.9.0

I solved my problem. I realized I missed a very small detail. I was typing “elasticsearch” in the Output section. Actually, I should have corrected that section to “opensearch”.

output {
  opensearch {
#  elasticsearch { # old
    hosts => ["https://admin:admin@10.19.23.46:9200"]
    index => "filebeat-%{+YYYY.MM.dd}"
    ssl_enabled => "true"
    ssl_verification_mode => "none"
  }
}
1 Like