Logstash to Cloud Elasticsearch thorugh SSL issue


(Latha Naganna) #1

Trying to load data from MySQL to Elasticsearch over IBM cloud using Logstash. This is secured service, need to use SSL. following is the elasticsearch setting i am providing in logstash config. It is giving error as No certificate data found.

Using LogStash 6.5.x and elasticsearch 6.5.x

output {
elasticsearch {
action=>"index"
hosts=>["https://:@:/"]
index=>"test_location"
document_type=>"%{type}"
ssl=>true
ssl_certificate_verification=>true
cacert=>"D:/Data/Logstash-ES-6.5-Mapping/ca_logstash.cer"
}
stdout {}
}

Let me know what is that i am missing in the configuration.

NOTE: Same certificate is working using elasticdump tool