# Log files that dont exist

**URL:** <https://discuss.elastic.co/t/log-files-that-dont-exist/62202>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 4, 2016, 5:55pm UTC](https://discuss.elastic.co/t/log-files-that-dont-exist/62202 "2016-10-04T17:55:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jnpetty](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@jnpetty](https://discuss.elastic.co/u/jnpetty)\
**Post date:** [October 4, 2016, 5:55pm UTC](https://discuss.elastic.co/t/log-files-that-dont-exist/62202/1 "2016-10-04T17:55:43Z")

</div>

Lets say I want to maintain a single filebeat.yml file for all of our servers. Obviously all of the servers server different applications. What what would happen if a filebeat.yml had 50 input log files, but only one or two of those log files actually existed?

---

<div class="post-metadata">

**Author:** ![tudor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tudor/32/3753_2.png) [@tudor](https://discuss.elastic.co/u/tudor)\
**Post date:** [October 4, 2016, 7:58pm UTC](https://discuss.elastic.co/t/log-files-that-dont-exist/62202/2 "2016-10-04T19:58:03Z")

</div>

That should work fine, Filebeat will keep checking if a file with the configured name/glob showed up, but it won't error if no matching file exists.

---

<div class="post-metadata">

**Author:** ![jnpetty](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@jnpetty](https://discuss.elastic.co/u/jnpetty)\
**Post date:** [October 4, 2016, 9:32pm UTC](https://discuss.elastic.co/t/log-files-that-dont-exist/62202/3 "2016-10-04T21:32:01Z")

</div>

Thats exactly what I needed to hear. Thanks Tudor

---

<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:** [October 25, 2016, 5:56pm UTC](https://discuss.elastic.co/t/log-files-that-dont-exist/62202/4 "2016-10-25T17:56:00Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
