# Date filter plugin successfully matches but doesn't show up in Kibana

**URL:** https://discuss.elastic.co/t/date-filter-plugin-successfully-matches-but-doesnt-show-up-in-kibana/142162
**Category:** Logstash
**Created:** [July 30, 2018, 11:39am UTC](https://discuss.elastic.co/t/date-filter-plugin-successfully-matches-but-doesnt-show-up-in-kibana/142162 "2018-07-30T11:39:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![arun1](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@arun1](https://discuss.elastic.co/u/arun1)
#### Post date: [July 30, 2018, 11:39am UTC](https://discuss.elastic.co/t/date-filter-plugin-successfully-matches-but-doesnt-show-up-in-kibana/142162/1 "2018-07-30T11:39:43Z")

</div>

Hi All,

Here is a snapshot of my logstash config file:

 ![Capture](https://us1.discourse-cdn.com/elastic/original/3X/9/c/9c05c4a2b44b70077be1b5f5a9947f2ed0f06876.PNG)

The Date filter is able to match the field logtime to the pattern yyyy-MM-dd hh:mm:ss but while creating index I can only see the field @timestamp in the dropdown; the logtime field comes as string only.

All help is greatly appreciated  
Arun

---

<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 30, 2018, 1:23pm UTC](https://discuss.elastic.co/t/date-filter-plugin-successfully-matches-but-doesnt-show-up-in-kibana/142162/2 "2018-07-30T13:23:06Z")

</div>

That appears to be working as expected. The date filter does not modify its source field, it writes to the "target" field. So logtime will be a string, and @timestamp will be a datetime.

---

<div class="post-metadata">

### Author: ![tgaudin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tgaudin/32/32583_2.png) [@tgaudin](https://discuss.elastic.co/u/tgaudin)
#### Post date: [July 30, 2018, 1:26pm UTC](https://discuss.elastic.co/t/date-filter-plugin-successfully-matches-but-doesnt-show-up-in-kibana/142162/3 "2018-07-30T13:26:03Z")

</div>

Also, you probably want to `remove_field => ["logtime"]` in your date filter, since `timestamp` isn't a field that exists in your grok pattern.

---

<div class="post-metadata">

### Author: ![arun1](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@arun1](https://discuss.elastic.co/u/arun1)
#### Post date: [July 31, 2018, 6:40am UTC](https://discuss.elastic.co/t/date-filter-plugin-successfully-matches-but-doesnt-show-up-in-kibana/142162/4 "2018-07-31T06:40:04Z")

</div>

@Badger, @tgaudin thanks a lot! It 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: [August 28, 2018, 6:40am UTC](https://discuss.elastic.co/t/date-filter-plugin-successfully-matches-but-doesnt-show-up-in-kibana/142162/5 "2018-08-28T06:40:05Z")

</div>

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