# Filebeat module ignore\_older

**URL:** <https://discuss.elastic.co/t/filebeat-module-ignore-older/179616>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 4, 2019, 11:57am UTC](https://discuss.elastic.co/t/filebeat-module-ignore-older/179616 "2019-05-04T11:57:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Post date:** [May 4, 2019, 11:57am UTC](https://discuss.elastic.co/t/filebeat-module-ignore-older/179616/1 "2019-05-04T11:57:33Z")

</div>

How can I add the ignore\_older option to filebeat modules?

---

<div class="post-metadata">

**Author:** ![Michal\_Pristas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michal_pristas/32/46639_2.png) [@Michal\_Pristas](https://discuss.elastic.co/u/Michal_Pristas)\
**Post date:** [May 6, 2019, 9:09am UTC](https://discuss.elastic.co/t/filebeat-module-ignore-older/179616/2 "2019-05-06T09:09:35Z")

</div>

hey @rugenl  
you can try to define a processor combined with range query  
processor you might be interested in: [https://www.elastic.co/guide/en/beats/filebeat/7.0/drop-event.html](https://www.elastic.co/guide/en/beats/filebeat/7.0/drop-event.html)

you will then specify a condition as a range condition and specify timespan lower than a value

example

```auto
range:
    your.field:
        lte: "now-1d/d"

```

Check this for how date math is used: [https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#date-math](https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#date-math)

---

<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:** [June 3, 2019, 9:09am UTC](https://discuss.elastic.co/t/filebeat-module-ignore-older/179616/3 "2019-06-03T09:09:36Z")

</div>

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