Local logstash connection to cloud


(ammoula) #1

I've configured my local logstash instance to connect o my cloud.
I've the following errror :
[2018-06-11T13:03:11,469][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"https://logstash:xxxxxx@4b68588ca9aa4107b74f36160ca87e7e.europe-west1.gcp.cloud.es.io:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [https://logstash:xxxxxx@4b68588ca9aa4107b74f36160ca87e7e.europe-west1.gcp.cloud.es.io:9200/][Manticore::ConnectTimeout] connect timed out"}

why it adds 9200 to the uri ?
logstash version 6.2.2
logstash.yml

node.name: logstash-vvvv
path.data: /var/lib/logstash
cloud.id: id
cloud.auth: user: password

logstash.conf output
elasticsearch {
hosts => "https://myid.europe-west1.gcp.cloud.es.io/"
user => "myuser"
password => "mypass"
index => "myindex"
}


(Christian Dahlqvist) #2

I believe this should also specify port 9243:

hosts => "https://myid.europe-west1.gcp.cloud.es.io:9243/"

(system) #3

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