# Location of logstash.yml using brew?

**URL:** <https://discuss.elastic.co/t/location-of-logstash-yml-using-brew/72398>\
**Category:** Logstash\
**Created:** [January 22, 2017, 3:10pm UTC](https://discuss.elastic.co/t/location-of-logstash-yml-using-brew/72398 "2017-01-22T15:10:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![scheung38](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/scheung38/32/14795_2.png) [@scheung38](https://discuss.elastic.co/u/scheung38)\
**Post date:** [January 22, 2017, 3:10pm UTC](https://discuss.elastic.co/t/location-of-logstash-yml-using-brew/72398/1 "2017-01-22T15:10:25Z")

</div>

Hi I am a new user to logstash but could not work out where to put logstash.yml?

$brew install logstash

Am I supposed to generate this file?

---

<div class="post-metadata">

**Author:** ![Deb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deb/32/46162_2.png) [@Deb](https://discuss.elastic.co/u/Deb)\
**Post date:** [January 22, 2017, 7:53pm UTC](https://discuss.elastic.co/t/location-of-logstash-yml-using-brew/72398/2 "2017-01-22T19:53:50Z")

</div>

The settings that are present in `logstash.yml` can also be specified as command line flags.

You can do `logstash --help` this will show you all the command line flags that can be supplied to logstash.

---

<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:** [February 19, 2017, 7:54pm UTC](https://discuss.elastic.co/t/location-of-logstash-yml-using-brew/72398/3 "2017-02-19T19:54:14Z")

</div>

Closed on February 19, 2017, 7:54pm UTC

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