# Configuring Logstash for Elasticsearch Services in the Cloud

**URL:** <https://discuss.elastic.co/t/configuring-logstash-for-elasticsearch-services-in-the-cloud/206215>\
**Category:** Logstash\
**Created:** [November 1, 2019, 8:43pm UTC](https://discuss.elastic.co/t/configuring-logstash-for-elasticsearch-services-in-the-cloud/206215 "2019-11-01T20:43:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarahvo](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@sarahvo](https://discuss.elastic.co/u/sarahvo)\
**Post date:** [November 1, 2019, 8:43pm UTC](https://discuss.elastic.co/t/configuring-logstash-for-elasticsearch-services-in-the-cloud/206215/1 "2019-11-01T20:43:03Z")

</div>

Hi, I'm using Elasticsearch Services on Azure and I'm trying to configure logstash to point to my elasticsearch instance in the cloud. I was reading the documentation given here: [https://www.elastic.co/guide/en/logstash/7.4/connecting-to-cloud.html](https://www.elastic.co/guide/en/logstash/7.4/connecting-to-cloud.html)  
I added my cloud.id & cloud.auth to my logstash.yml, so do I not need to update my configuration file, i.e. beats.conf? If I do need to update it, how would I specify in "hosts=\>" section my cloud.auth and cloud.id? Thank you!

---

<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:** [November 29, 2019, 8:43pm UTC](https://discuss.elastic.co/t/configuring-logstash-for-elasticsearch-services-in-the-cloud/206215/2 "2019-11-29T20:43:07Z")

</div>

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