Hello, I created a Logstash config to send files on index of Elasticsearch 7.15.1, on the same server.
I got this error
[ERROR][logstash.javapipeline ][main] Pipeline error {:pipeline_id=>"main", :exception=>#<Manticore::UnknownException: Unsupported or unrecognized SSL message>, :backtrace=>["/opt/logstash-7.15.1/vendor/bundle/jruby/2.5.0/gems/manticore-0.7.1-java/lib/manticore/response.rb:36:in `block in initialize'"
Here is my logstash.yml:
xpack.monitoring.enabled: true
xpack.monitoring.pipeline.id: ["xxx", "yyy"]
xpack.monitoring.elasticsearch.hosts: "http://localhost:9200"
xpack.monitoring.elasticsearch.api_key: "9dfjeijroek:9eVqMml3Sh6dfdfd"
xpack.monitoring.collection.interval: 10s
And the Logstash config file:
input {
file {
path => "/elasticsearch/data/*" start_position => "beginning"
}
}
filter {
mutate {
rename => { ".txt" => ".json" }
}
}
output {
elasticsearch {
hosts => ["https://localhost:9200"]
api_key => "9dfjeijroek:9eVqMml3Sh6dfdfd"
ssl => true
}
}
How can I resolve this problem ? Thanks anyway.