Logstash connection to Elastic Cloud

Dear elastic-friends,

Sorry if I don't post in the good place but I cant find any solution to my misconfiguration.

I have a CentOS hosted in the cloud and gather logs from various party
I would like to use Logstash to send data in my trial ElasticSearch cloud instance.

My local config is working fine but when I try to switch elasticsearch instance from local to the one in elastic cloud, problems are showing up.

When running Logstash on my CentOS I got the following errors message:

[2018-11-23T12:17:41,599][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://myurl.aws.found.io:9243/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [http://myurl1.aws.found.io:9243/][Manticore::ClientProtocolException]myurl:9243 failed to respond"}

Nov 23 12:11:05 CentOS logstash[750]: [2018-11-23T12:11:05,938][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://myurl.aws.found.io:9243/, :path=>"/"}

I belive the problem comes from the url using HTTP instead of HTTPS but I have no clue where to change this.

Can you help me understand what am I missing ?

It would help if you showed your configuration.

NVM I found my mistake.

I was defining the cloud.id and the claud.auth in the logstash.yml instead of the .conf

thank for your swift reply !

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