# Date issues with Logstash

**URL:** <https://discuss.elastic.co/t/date-issues-with-logstash/80715>\
**Category:** Logstash\
**Created:** [March 30, 2017, 4:11pm UTC](https://discuss.elastic.co/t/date-issues-with-logstash/80715 "2017-03-30T16:11:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Riaz\_Mohamed](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@Riaz\_Mohamed](https://discuss.elastic.co/u/Riaz_Mohamed)\
**Post date:** [March 30, 2017, 4:11pm UTC](https://discuss.elastic.co/t/date-issues-with-logstash/80715/1 "2017-03-30T16:11:05Z")

</div>

All I have the following log  
[Feb 15, 2017 09:35:43 AM GMT, ERROR] UpdateForecastFieldsFromTemplatePostPX.java:doAction():359)

My gork expression looks like  
%{TIMESTAMP\_ISO8601:logdate}%{LOGLEVEL:log-level}]%{GREEDYDATA:message}

I do not get an output for the logdate but the log-level and message work fine. Any idea what Im doing wrong. please help

---

<div class="post-metadata">

**Author:** ![anshul\_pandey](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@anshul\_pandey](https://discuss.elastic.co/u/anshul_pandey)\
**Post date:** [March 30, 2017, 5:12pm UTC](https://discuss.elastic.co/t/date-issues-with-logstash/80715/2 "2017-03-30T17:12:19Z")

</div>

TIMESTAMP\_ISO8601 won't match the time format you have, you can try matching filters using this page  
[https://grokdebug.herokuapp.com/](https://grokdebug.herokuapp.com/) try debugger and use your expression try matching with autocomplete

---

<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:** [April 27, 2017, 5:12pm UTC](https://discuss.elastic.co/t/date-issues-with-logstash/80715/3 "2017-04-27T17:12:28Z")

</div>

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