# Date filter showing error

**URL:** <https://discuss.elastic.co/t/date-filter-showing-error/139905>\
**Category:** Logstash\
**Created:** [July 13, 2018, 8:47am UTC](https://discuss.elastic.co/t/date-filter-showing-error/139905 "2018-07-13T08:47:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gokul\_15](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@Gokul\_15](https://discuss.elastic.co/u/Gokul_15)\
**Post date:** [July 13, 2018, 8:47am UTC](https://discuss.elastic.co/t/date-filter-showing-error/139905/1 "2018-07-13T08:47:17Z")

</div>

date{  
match=\>{"date","yyyy-mm-dd hh:mm:ss:sss","ISO8601"}  
target="updated\_date"  
}  
My input timestamp will be:2018-07-09T06:36:44.254Z"

exception=\>"LogStash::ConfigurationError", :message=\>"Expected one of #, =\> at line 31(ie match line), column 20 (byte 778) after filter

---

<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 13, 2018, 3:45pm UTC](https://discuss.elastic.co/t/date-filter-showing-error/139905/2 "2018-07-13T15:45:14Z")

</div>

Can you show us the complete error message? That appears to be truncated.

You appear to be missing a \> after target=.

---

<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:** [July 13, 2018, 6:33pm UTC](https://discuss.elastic.co/t/date-filter-showing-error/139905/3 "2018-07-13T18:33:32Z")

</div>

> match=\>{"date","yyyy-mm-dd hh:mm:ss:sss","ISO8601"}

Use `[` and `]` instead of `{` and `}`.

---

<div class="post-metadata">

**Author:** ![Gokul\_15](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@Gokul\_15](https://discuss.elastic.co/u/Gokul_15)\
**Post date:** [July 14, 2018, 2:09pm UTC](https://discuss.elastic.co/t/date-filter-showing-error/139905/4 "2018-07-14T14:09:03Z")

</div>

thank you all for your replies

---

<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 11, 2018, 2:09pm UTC](https://discuss.elastic.co/t/date-filter-showing-error/139905/5 "2018-08-11T14:09:09Z")

</div>

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