How to escape SSL certificate verification in Elastic search input for logstash


#1

I Installed read-only rest plugin for Elastic search 5.6.1

And I changed elasticsearch.yml file for security and SSL.
They are working fine but SSL I generated locally.
When I am using elastic search as output in logstash I am using below method to escape SSL verification.

ssl_certificate_verification => false

When I am using the same thing in Elastic Search input for logstash it’s not working, Please suggest me what I am missing in below elastic search input for logstash.

input {
elasticsearch {
hosts => [ “https://127.0.0.1:9200” ]
ssl => true
ssl_certificate_verification => false
index => “logstash-index1”
user => “XXXXXXX”
password => “XXXXXXX”
size => 1000
scroll => “5m”
docinfo => true
}
}

Thanks in Advance...................


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.