Unable to connect to Elastic search with https from Logstash

I am a new bie to ELK .I was able to start successfully elastic server and kibana.I was trying to start Logstash server but I am getting errors as below when run command
logstash -f .\config\sample.conf

my sample.conf file is as below

input {

}
output {
stdout {
codec => rubydebug
}
elasticsearch {
hosts => ["127.0.0.1:9200"]
index => "logdb"
user => "elastic"
password => "kwxb=9o7DlcQz+y7zCuY"
# SSL enabled
ssl => true
ssl_certificate_verification => false
cacert =>C:\Users\503304203\Downloads\elasticsearch-8.4.3-windows-x86_64\elasticsearch-8.4.3\

}

Thanks in advance.

cacert =>"C:/Users/503304203/Downloads/elasticsearch-8.4.3-windows-x86_64/elasticsearch-8.4.3/missing_cert_name.crt"

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