Closed espala closed 11 months ago
The error says you're using logstash-output-elasticsearch-11.15.9-java
which is not logstash-output-opensearch
. Your filebeat output
above should be opensearch
, not elasticsearch
I think. There's more detailed setup in https://repost.aws/knowledge-center/opensearch-connect-filebeat-logstash. Does this help?
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"
}
}
Hello,
I set up Opensearch cluster. I use an SSL certificate in this cluster. I use 1 server both in the opensearch coordinating role and as opensearch dashboard.
I also plan to install logstash on this server and receive logs.
I downloaded all packages from the opensearch official page. My Opensearch cluster and dashboard are working healthy. But "Logstash OSS with OpenSearch Output Plugin" does not work.
I downloaded the style file below. I opened this file and put its contents into a directory named "/etc/opensearch-logstash". Then I edited my configuration files. I am trying to start the service manually. logstash-oss-with-opensearch-output-plugin-8.9.0-linux-x64.tar.gz
But I keep getting the "Could not connect to a compatible version of Elasticsearch" error. The download page says it is compatible with "7.10.2 or lower".
I don't know what to do, I've searched all the pages I can on the internet, but I can't solve this problem, what can you suggest me?