Failed to perform request

I fixed it with this:

output {
elasticsearch {
hosts => ["https://192.168.0.108:9200"]
index => "%{[@metadata][nsm]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
user => "elastic"
password => "****************"
ssl_certificate_verification => false
}
}