# How matching logs of today's date

**URL:** <https://discuss.elastic.co/t/how-matching-logs-of-todays-date/223910>\
**Category:** Beats\
**Created:** [March 17, 2020, 11:11am UTC](https://discuss.elastic.co/t/how-matching-logs-of-todays-date/223910 "2020-03-17T11:11:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Youssef\_SBAI](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/youssef_sbai/32/64242_2.png) [@Youssef\_SBAI](https://discuss.elastic.co/u/Youssef_SBAI)\
**Post date:** [March 17, 2020, 11:11am UTC](https://discuss.elastic.co/t/how-matching-logs-of-todays-date/223910/1 "2020-03-17T11:11:36Z")

</div>

I have a question, `file beat input-> file-> path` . How matching logs of today's date.  
My directory `/ service / logs /` contains many log files, these logs are cut by date.  
I just want to let filebeat to match today's log, I wrote the following configuration, but it is not working.

---

<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:** [April 14, 2020, 1:11pm UTC](https://discuss.elastic.co/t/how-matching-logs-of-todays-date/223910/2 "2020-04-14T13:11:45Z")

</div>

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