awslabs / logstash-output-amazon_es

Logstash output plugin to sign and export logstash events to Amazon Elasticsearch Service
Apache License 2.0
375 stars 103 forks source link

Attempted to resurrect connection to dead ES instance, but got an error. #162

Closed mohamedmahmoud97 closed 4 years ago

mohamedmahmoud97 commented 4 years ago

I tried to use the ES endpoint that the AWS console provided me but got: Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://xxxxx.us-west-2.es.amazonaws.com:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [http://xxxxx.us-west-2.es.amazonaws.com:9200/][Manticore::ConnectTimeout] connect timed out"}

I tried to hit the /_cluster/health/ endpoint without the 9200 port and it worked. I passed the ES endpoint without the port but I see it in the logs. Do you know a way to disable this or how can I solve it?

mohamedmahmoud97 commented 4 years ago

Seems like I should have used the endpoint specifying the https URL and port instead.