# Exclude Directorys in Filebeat

**URL:** <https://discuss.elastic.co/t/exclude-directorys-in-filebeat/223139>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 11, 2020, 1:08pm UTC](https://discuss.elastic.co/t/exclude-directorys-in-filebeat/223139 "2020-03-11T13:08:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [March 11, 2020, 3:03pm UTC](https://discuss.elastic.co/t/exclude-directorys-in-filebeat/223139/2 "2020-03-11T15:03:36Z")

</div>

I think you may find an answer in this thread: [How to exclude a sub directory and all of it's files](https://discuss.elastic.co/t/how-to-exclude-a-sub-directory-and-all-of-its-files/137317)

---

_[View the full topic](https://discuss.elastic.co/t/exclude-directorys-in-filebeat/223139)._
