# How to parse timestamp windows event log

**URL:** <https://discuss.elastic.co/t/how-to-parse-timestamp-windows-event-log/291043>\
**Category:** Logstash\
**Tags:** windows\
**Created:** [December 6, 2021, 1:15pm UTC](https://discuss.elastic.co/t/how-to-parse-timestamp-windows-event-log/291043 "2021-12-06T13:15:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roccof97](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roccof97/32/97628_2.png) [@Roccof97](https://discuss.elastic.co/u/Roccof97)\
**Post date:** [December 6, 2021, 1:15pm UTC](https://discuss.elastic.co/t/how-to-parse-timestamp-windows-event-log/291043/1 "2021-12-06T13:15:27Z")

</div>

Hello to all,

I have a problem with parsing this field(event.created) with the timestamp, here is the screen:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/c/5c511b3cc9ffdc74b1e4523a605bb95d7d7b125d.png)

this is the filter I created:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/6/461d3a88fa3b96cfa8eaa9876bc788ff9502b84c.png)

thanks

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [December 6, 2021, 1:30pm UTC](https://discuss.elastic.co/t/how-to-parse-timestamp-windows-event-log/291043/2 "2021-12-06T13:30:03Z")

</div>

Which part of this looks incorrect? It appears that field is being parsed and you are seeing it in Kibana as such.

I would add quotes around `ISO8601` but if that was throwing an error I don't think your data in Kibana would look like it was parsed.

```auto
filter {
 date {
  match => ["[event][created]", "ISO8601" ]
 }
}

```

---

<div class="post-metadata">

**Author:** ![Roccof97](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roccof97/32/97628_2.png) [@Roccof97](https://discuss.elastic.co/u/Roccof97)\
**Post date:** [December 6, 2021, 2:00pm UTC](https://discuss.elastic.co/t/how-to-parse-timestamp-windows-event-log/291043/3 "2021-12-06T14:00:21Z")

</div>

my goal is to parse the event.created date in the timestamp, here is the example screenshot.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/1/7174a17e5220dc6053bc5ab4e0633e494fbbebc3.png)

Unfortunately, with the change you suggested it doesn't work

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [December 6, 2021, 2:07pm UTC](https://discuss.elastic.co/t/how-to-parse-timestamp-windows-event-log/291043/4 "2021-12-06T14:07:23Z")

</div>

Understand. Didn't see the `@timestamp` field in other screenshot.

Have you checked the Logstash logs? If the parsing of the date is failing you should be getting a WARN.

Another thing to check is the value of that field. If it's being create by a filebeat then it should be in `ISO8601` which looks like `2016-05-23T08:05:34.857Z`. I would just verfiy the value looks correct.

---

<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 3, 2022, 2:08pm UTC](https://discuss.elastic.co/t/how-to-parse-timestamp-windows-event-log/291043/5 "2022-01-03T14:08:21Z")

</div>

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