What could be the problem here trying to connect logstash to Elasticsearch 7.5 for the first time?
Nov 18 11:55:34 srLogStash001 run_tviLogStash.sh[98904]: [2024-11-18T11:55:34,362][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://UA16:xxxxxx@elagen.prod.tech.dom:9200/", :erro r_type=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::BadResponseCodeError, :error=>"Got response code '401' contacting Elastics earch at URL 'http://elagen.prod.tech.dom:9200/'"}
From the 401 error (code 40 in the log), it seems to be an authentication issue when trying to connect to Elasticsearch. Let's check some possible causes:
Make sure the username (UA16) and password are correct.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.