# How to point logstash to my elasticcloud instance

**URL:** https://discuss.elastic.co/t/how-to-point-logstash-to-my-elasticcloud-instance/238443
**Category:** Logstash
**Created:** [June 24, 2020, 11:22am UTC](https://discuss.elastic.co/t/how-to-point-logstash-to-my-elasticcloud-instance/238443 "2020-06-24T11:22:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Martijn\_van\_Iersel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/martijn_van_iersel/32/71000_2.png) [@Martijn\_van\_Iersel](https://discuss.elastic.co/u/Martijn_van_Iersel)
#### Post date: [June 24, 2020, 11:22am UTC](https://discuss.elastic.co/t/how-to-point-logstash-to-my-elasticcloud-instance/238443/1 "2020-06-24T11:22:20Z")

</div>

Hello, I signed up for an elasticcloud trial and I'm trying to configure logstash to send my apache logs to my elasticcloud/elasticsearch instance.

I'm super confused about how to configure logstash.

The example here shows how to configure logstash when elasticsearch is running on localhost:  
[https://www.elastic.co/guide/en/logstash/current/configuration.html](https://www.elastic.co/guide/en/logstash/current/configuration.html)

The documentation here seems to imply that I only need to set cloud.id and cloud.auth  
[https://www.elastic.co/guide/en/logstash/current/connecting-to-cloud.html](https://www.elastic.co/guide/en/logstash/current/connecting-to-cloud.html)

But how do I connect the pipeline output to my cloud id? Is an output created automatically is I set cloud.id? If not, what do I fill in as "hosts" for my elasticsearch output?

---

<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: [July 22, 2020, 11:22am UTC](https://discuss.elastic.co/t/how-to-point-logstash-to-my-elasticcloud-instance/238443/2 "2020-07-22T11:22:32Z")

</div>

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