After changing and restarting the es , kibana started and listen without any issue.
But logstash gives the below error. I am able to telnet and curl xx:xx:xx:xx 9200
without any issue
][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://localhost:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [http://localhost:9200/][Manticore::SocketException] Connection refused (Connection refused)"}
It appears you've simply commented out elasticsearch.url, network.host and hosts from the relevant config files. This causes the applications to use their defaults. Try putting the actual IP addresses or host names into the configuration.
make sure that the # sign is removed from any line that should take effect. I cannot quite tell from your message whether that is the case. The fact that localhost:9200 still appears in the kibana logs, suggests that you still haven't configured the elasticsearch.url correctly.
logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://localhost:9200/, :path=>"/"}
[2018-11-26T22:13:10,761][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://localhost:9200/",
Along the above we should change the elasticsearch url in the file /etc/logstash/conf.d/99-output.conf
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.