ELK - cant get logstash to connect to elastic 401 error

Viewed 12

local instance ELK 6.X - user and pass defined on properties config file on output as elastic user and pass after running the script on elastic bin to create it, but still give the below error

logstash error [2022-09-07T18:44:42,154][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://127.0.0.1:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError, :error=>"Got response code '401' contacting Elasticsearch at URL 'http://127.0.0.1:9200/'"}

0 Answers
Related