Hello team, I'm new to Logstash when im trying to run a logstash i getting the error like this anyone can you please look on it.
[2022-04-11T19:19:07,223][ERROR][logstash.licensechecker.licensereader] Unable to retrieve license information from license server {:message=>"No Available connections"}
[2022-04-11T19:19:07,528][WARN ][logstash.licensechecker.licensereader] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://elasticsearch:9200/", :exception=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [http://elasticsearch:9200/][Manticore::ResolutionFailure] elasticsearch: Name or service not known"}
@TimV Thanks for your reply. yes Elasticsearch node is running.
when i try to change the Elasticsearch URL in Logstash file but its not supporting. I can't overwrite the Logstash file when i change the URL again Logstash file taken a default URL only. Can you please tell me where i have to change the URL in logstash file.
[WARN ] 2022-04-14 11:10:09.084 [Ruby-0-Thread-5: /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-10.4.2-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:241] elasticsearch - Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"https://elastic:xxxxxx@XXX.XXX.XX.XX:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [https://elastic:xxxxxx@XXX.XXX.XX.XX:9200/][Manticore::ClientProtocolException] PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"}
Hi Team, I'm trying to run the Logstash I'm getting an error like this. It needs a certificate to connect with Elasticsearch can you please help me with how to run the Logstash without using the certificate.
Hello @leandrojmp Thank you for your reply, I passing the Elasticsearch configuration in logstash conf file. I tried with both HTTP and HTTPS Elasticsearch but both the things are showing the same error.
@leandrojmp Thank you for your reply, I deployed a Elasticsearch is running with HTTP but I can't able to connect to it from Logstash. It shows the same error like Elasticsearch unreachable.
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.