# Config logstash with elasticsearch cloud

**URL:** <https://discuss.elastic.co/t/config-logstash-with-elasticsearch-cloud/295962>\
**Category:** Logstash\
**Created:** [February 1, 2022, 4:36pm UTC](https://discuss.elastic.co/t/config-logstash-with-elasticsearch-cloud/295962 "2022-02-01T16:36:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cheroufa](https://avatars.discourse-cdn.com/v4/letter/c/ec9cab/32.png) [@Cheroufa](https://discuss.elastic.co/u/Cheroufa)\
**Post date:** [February 1, 2022, 4:36pm UTC](https://discuss.elastic.co/t/config-logstash-with-elasticsearch-cloud/295962/1 "2022-02-01T16:36:29Z")

</div>

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 .

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 1, 2022, 8:34pm UTC](https://discuss.elastic.co/t/config-logstash-with-elasticsearch-cloud/295962/2 "2022-02-01T20:34:54Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 1, 2022, 8:35pm UTC](https://discuss.elastic.co/t/config-logstash-with-elasticsearch-cloud/295962/3 "2022-03-01T20:35:21Z")

</div>

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