# Logstash.yml Elastic Cloud Settings

**URL:** <https://discuss.elastic.co/t/logstash-yml-elastic-cloud-settings/152116>\
**Category:** Logstash\
**Created:** [October 11, 2018, 7:25pm UTC](https://discuss.elastic.co/t/logstash-yml-elastic-cloud-settings/152116 "2018-10-11T19:25:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![schoffelman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/schoffelman/32/18461_2.png) [@schoffelman](https://discuss.elastic.co/u/schoffelman)\
**Post date:** [October 11, 2018, 7:25pm UTC](https://discuss.elastic.co/t/logstash-yml-elastic-cloud-settings/152116/1 "2018-10-11T19:25:01Z")

</div>

In my Logstash.yml file, I've added both my **_cloud.id_** and _ **cloud.auth** _ information (both with and without quotes for the value). In each case, when running my conf it tries to connect to my 127.0.0.1 localhost. I was able to finally connect by setting the output section in my conf file to the below example.

But what I wonder, is there anything I'm missing with my logstash.yml file? Shouldn't that connect to my cloud instance without having to add the below settings to my output {} section of my conf file? I'm running **_bin/logstash -f config/config-file.conf_** from the command line.

```
hosts => ["SUB_DOMAIN.us-west-2.aws.found.io:9243"]
user => NAME
password => PASSWORD
ssl => true
```

---

<div class="post-metadata">

**Author:** ![schoffelman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/schoffelman/32/18461_2.png) [@schoffelman](https://discuss.elastic.co/u/schoffelman)\
**Post date:** [October 11, 2018, 7:25pm UTC](https://discuss.elastic.co/t/logstash-yml-elastic-cloud-settings/152116/2 "2018-10-11T19:25:52Z")

</div>

I should add both Elastsearch in the cloud and Logstash on my local machine are versions 6.4.2. With the command line, when using the logstash.yml file, i've ran the following command:

`bin/logstash --modules netflow -M "netflow.var.input.udp.port=3555"`

---

<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 8, 2018, 7:25pm UTC](https://discuss.elastic.co/t/logstash-yml-elastic-cloud-settings/152116/3 "2018-11-08T19:25:53Z")

</div>

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