# How to process logs from certain period of time? (I use elasticsearch input plugin)

**URL:** https://discuss.elastic.co/t/how-to-process-logs-from-certain-period-of-time-i-use-elasticsearch-input-plugin/278702
**Category:** Logstash
**Created:** [July 14, 2021, 6:12pm UTC](https://discuss.elastic.co/t/how-to-process-logs-from-certain-period-of-time-i-use-elasticsearch-input-plugin/278702 "2021-07-14T18:12:14Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [July 14, 2021, 6:21pm UTC](https://discuss.elastic.co/t/how-to-process-logs-from-certain-period-of-time-i-use-elasticsearch-input-plugin/278702/2 "2021-07-14T18:21:26Z")

</div>

There is an example of testing the age of an event [here](https://discuss.elastic.co/t/logstash-filter-basted-on-log-file-age/241350/2).

---

_[View the full topic](https://discuss.elastic.co/t/how-to-process-logs-from-certain-period-of-time-i-use-elasticsearch-input-plugin/278702)._
