Logstash fails to establish output connection with AWS service domain?

I setup a Elasticsearch enabled service with AWS.

I setup the conf file in logstash local as specified

I ran logstash using following command

logstash -f logstash-simple.conf

Connections gets established for input but when it tries to connect with AWS service domain.
It fails to connect.

To check logstash performs a health check that also fails. I see that it is trying to connect to

https://search-slidebuy-z5vpncvvncihz4r2qivcbuttai.us-east-1.es.amazonaws.com:9200

When I try to browse without port number It is getting connected.

Please help me sort out the issue.

Following is the error trace

[2017-10-15T12:15:39,110][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"https://search-slidebuy-z5vpncvvncihz4r2qivcbuttai.us-east-1.es.amazonaws.com:9200/", :error_type=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [https://search-slidebuy-z5vpncvvncihz4r2qivcbuttai.us-east-1.es.amazonaws.com:9200/][Manticore::ConnectTimeout] connect timed out"}
[2017-10-15T12:15:40,111][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>https://search-slidebuy-z5vpncvvncihz4r2qivcbuttai.us-east-1.es.amazonaws.com:9200/, :path=>"/"}

I think you need a special output plugin in order to be able to connect to AWS Elasticsearch service.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.