My ElasticStack decided to go haywire today and I really have no idea what went wrong. After reinstalling the services, Logstash now logs this error message non-stop:
[2018-04-02T19:33:52,358][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://logstash_system:xxxxxx@localhost:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [http://logstash_system:xxxxxx@localhost:9200/][Manticore::SocketException] Connection refused: connect"}
The default values for xpack.monitoring.elasticsearch.* are for localhost, so if it fails to find specific configurations in your logstash.yml, it will fall back to the default values.
My guess is that your uninstall/reinstall removed the config yaml and we're back to the default config that ships with Logstash.
I only uninstalled the Windows services, never removed the actual files. The configs posted above were direct copy/paste of what's there.
I actually had it set to 0.0.0.0 originally. I changed it to 192.168.1.1 to try and force a specific interface to listen on. I will add the xpack.monitoring config line and give that a shot.
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.