# Configure logstash for the Beats Plugin in logstash.yml

**URL:** <https://discuss.elastic.co/t/configure-logstash-for-the-beats-plugin-in-logstash-yml/91990>\
**Category:** Logstash\
**Created:** [July 5, 2017, 9:57pm UTC](https://discuss.elastic.co/t/configure-logstash-for-the-beats-plugin-in-logstash-yml/91990 "2017-07-05T21:57:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbroaddus](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@rbroaddus](https://discuss.elastic.co/u/rbroaddus)\
**Post date:** [July 5, 2017, 9:57pm UTC](https://discuss.elastic.co/t/configure-logstash-for-the-beats-plugin-in-logstash-yml/91990/1 "2017-07-05T21:57:02Z")

</div>

Hi, I am trying to configure logstash for filebeat and the beats plugin in logstash.yml. I have already done this with the logstash.conf file and it works fine. I have not seen an example of this in logstash.yml after extensive searching. I am using Elasticsearch version 2.4. It is a simple configuration like so in logstash.conf:

input {  
beats {  
port =\> 5044  
}  
}

Any help would be greatly appreciated.

Thank you,

Robert

---

<div class="post-metadata">

**Author:** ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)\
**Post date:** [July 6, 2017, 12:15am UTC](https://discuss.elastic.co/t/configure-logstash-for-the-beats-plugin-in-logstash-yml/91990/2 "2017-07-06T00:15:51Z")

</div>

Hello. Indeed nothing is required in logstash.yml . You just need to configure the beats input in logstash.conf just as the sample you provided.

---

<div class="post-metadata">

**Author:** ![rbroaddus](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@rbroaddus](https://discuss.elastic.co/u/rbroaddus)\
**Post date:** [July 6, 2017, 1:06pm UTC](https://discuss.elastic.co/t/configure-logstash-for-the-beats-plugin-in-logstash-yml/91990/3 "2017-07-06T13:06:39Z")

</div>

Hi Thiago, thank you for the quick response and the help.

---

<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:** [August 3, 2017, 1:06pm UTC](https://discuss.elastic.co/t/configure-logstash-for-the-beats-plugin-in-logstash-yml/91990/4 "2017-08-03T13:06:43Z")

</div>

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