after i did add xpack.security.enabled :true to elasticserach.yml file then i set password but i was not able to restart logstash anymore
this is what i see in logstash's log file
Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://localhost:9200/", :exception=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError, :message=>"Got response code '401' contacting Elasticsearch at URL 'http://localhost:9200/'"}
Have you changed in LS output to support HTTPS:
elasticsearch {
hosts => ["https://localhost:9200"]
index => "indexname"
ssl => true
ssl_certificate_verification => true
}
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.