# Date Module Filebeat

**URL:** https://discuss.elastic.co/t/date-module-filebeat/292946
**Category:** Beats
**Tags:** beats-module, filebeat
**Created:** [December 27, 2021, 4:36am UTC](https://discuss.elastic.co/t/date-module-filebeat/292946 "2021-12-27T04:36:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nurhambali](https://avatars.discourse-cdn.com/v4/letter/n/3ec8ea/32.png) [@nurhambali](https://discuss.elastic.co/u/nurhambali)
#### Post date: [December 27, 2021, 4:36am UTC](https://discuss.elastic.co/t/date-module-filebeat/292946/1 "2021-12-27T04:36:11Z")

</div>

hi,  
i'm create module fail2ban in filebeat but i have problem in date not match with dicovery kibana:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/3/a3531dfaf92f1c54ba39c71c8654f75ebedf4245.png)

and this is Pipeline module fail2ban:

```auto
    {
      "date" : {
        "field" : "fail2ban.date",
        "target_field" : "@timestamp",
        "formats" : ["yyyy-MM-dd HH:mm:ss,SSS"]
      }
    },

```

how to sloved match date discovery kibana and source logs ?

---

<div class="post-metadata">

### Author: ![legoguy1000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/legoguy1000/32/54301_2.png) [@legoguy1000](https://discuss.elastic.co/u/legoguy1000)
#### Post date: [December 27, 2021, 1:59pm UTC](https://discuss.elastic.co/t/date-module-filebeat/292946/2 "2021-12-27T13:59:17Z")

</div>

You'll need a grok/dissect processor to extract the date field from the message and then u can use the date processor.

---

<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: [January 24, 2022, 3:59pm UTC](https://discuss.elastic.co/t/date-module-filebeat/292946/3 "2022-01-24T15:59:59Z")

</div>

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