# How to handle date related log files?

**URL:** <https://discuss.elastic.co/t/how-to-handle-date-related-log-files/33725>\
**Category:** Logstash\
**Created:** [November 4, 2015, 10:22am UTC](https://discuss.elastic.co/t/how-to-handle-date-related-log-files/33725 "2015-11-04T10:22:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yzord](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yzord/32/44824_2.png) [@Yzord](https://discuss.elastic.co/u/Yzord)\
**Post date:** [November 4, 2015, 10:22am UTC](https://discuss.elastic.co/t/how-to-handle-date-related-log-files/33725/1 "2015-11-04T10:22:19Z")

</div>

I am installing an ELK server for all the logfiles we have in our network. Configuring logstash-forwarder isn't that hard. I use

> [@](#):
>
> "/var/log/dhcp/dhcpd.log"

for example to push dhcpd.log to my ELK server.

But now i have a server which has logfiles related to the date. Like "radius-201511.log". Of course i could put

> [@](#):
>
> "/var/log/radius/radius-201511.log"

in the logstash-forwarder config file, but that means that it will not log "radius-201512.log" next December.

How can i configure logstash-forwarder that i catches all logs from every month? Is it simply "radius-2015\*\*.log? And what about the logs in 2016?

Hope you understand what i mean 😄

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 4, 2015, 7:24pm UTC](https://discuss.elastic.co/t/how-to-handle-date-related-log-files/33725/2 "2015-11-04T19:24:14Z")

</div>

Just use standard wildcards, e.g. radius-\*.log.

---

<div class="post-metadata">

**Author:** ![Yzord](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yzord/32/44824_2.png) [@Yzord](https://discuss.elastic.co/u/Yzord)\
**Post date:** [November 5, 2015, 1:34pm UTC](https://discuss.elastic.co/t/how-to-handle-date-related-log-files/33725/3 "2015-11-05T13:34:37Z")

</div>

Thanks man, that worked 🙂

---

<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:** [July 6, 2017, 5:23am UTC](https://discuss.elastic.co/t/how-to-handle-date-related-log-files/33725/4 "2017-07-06T05:23:53Z")

</div>


