# Filebeat yml configuration

**URL:** <https://discuss.elastic.co/t/filebeat-yml-configuration/191708>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 22, 2019, 8:25pm UTC](https://discuss.elastic.co/t/filebeat-yml-configuration/191708 "2019-07-22T20:25:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rovaldy\_Applyrs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rovaldy_applyrs/32/47522_2.png) [@Rovaldy\_Applyrs](https://discuss.elastic.co/u/Rovaldy_Applyrs)\
**Post date:** [July 22, 2019, 8:25pm UTC](https://discuss.elastic.co/t/filebeat-yml-configuration/191708/1 "2019-07-22T20:25:44Z")

</div>

In regards to the Filebeat input configuration in the yml file, is it possible to read in a folder that contains multiple files as a possible path? Or only files could be used as a path?

---

<div class="post-metadata">

**Author:** ![pierhugues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierhugues/32/48383_2.png) [@pierhugues](https://discuss.elastic.co/u/pierhugues)\
**Post date:** [July 25, 2019, 6:28pm UTC](https://discuss.elastic.co/t/filebeat-yml-configuration/191708/2 "2019-07-25T18:28:15Z")

</div>

Hello @Rovaldy_Applyrs

You can define files, or path or uses wilcards, we have few more details in our [documentation](https://www.elastic.co/guide/en/beats/filebeat/master/filebeat-input-log.html#input-paths).

paths: ["/var/log/secure._", "/var/log/_.log", "/var/log/apache/\*]

---

<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 22, 2019, 6:28pm UTC](https://discuss.elastic.co/t/filebeat-yml-configuration/191708/3 "2019-08-22T18:28:18Z")

</div>

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