# Why does filebeat input path not support regex？

**URL:** <https://discuss.elastic.co/t/why-does-filebeat-input-path-not-support-regex/203549>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 15, 2019, 2:39am UTC](https://discuss.elastic.co/t/why-does-filebeat-input-path-not-support-regex/203549 "2019-10-15T02:39:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmaxiaolei](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mmaxiaolei/32/55885_2.png) [@mmaxiaolei](https://discuss.elastic.co/u/mmaxiaolei)\
**Post date:** [October 15, 2019, 2:39am UTC](https://discuss.elastic.co/t/why-does-filebeat-input-path-not-support-regex/203549/1 "2019-10-15T02:39:34Z")

</div>

glob is too simple.  
my logback file pattern：biz.log.yyyy-MM-dd  
it match：biz.log、biz.log.2019-10-15  
but glob should be：biz.log and biz.log.20[0-9][0-9]-[01][0-9]-[0123][0-9]

---

<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:** [November 12, 2019, 2:39am UTC](https://discuss.elastic.co/t/why-does-filebeat-input-path-not-support-regex/203549/2 "2019-11-12T02:39:36Z")

</div>

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