Config logstash with elasticsearch cloud

hi guys

i want to configure logstash with Elasticsearch cloud to use the Centralized Pipeline Management

but logstash can't reach the cloud Elasticsearch cluster.

logs :

[2022-02-02T16:19:25,986][ERROR][logstash.licensechecker.licensereader] Unable to retrieve license information from license server {:message=>"No Available connections"}
[2022-02-02T16:19:34,230][WARN ][logstash.outputs.Elasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"https://.elastic-cloud.com:/", :exception=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [https://.elastic-cloud.com:/][Manticore::ConnectTimeout] Connect to ******************.elastic-cloud.com: [***.elastic-cloud.com/20.50.174.29] failed: connect timed out"}

in logstash.yml i set : cloud.id and cloud.auth is there other thing to set ?

logstash.yml file :

X-Pack Monitoring

xpack.monitoring.enabled: true
xpack.monitoring.Elasticsearch.cloud_id: ""
xpack.monitoring.Elasticsearch.cloud_auth: """
xpack.monitoring.collection.interval: 10s
xpack.monitoring.collection.pipeline.details.enabled: true

X-Pack Management

xpack.management.enabled: true
xpack.management.pipeline.id: ["test-*"]
xpack.management.Elasticsearch.cloud_id: ""
xpack.management.Elasticsearch.cloud_auth: ""
xpack.management.logstash.poll_interval: 5s

thanks for help .

Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them :slight_smile:

1 Like

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