# Help Parsing Websphere log entry

**URL:** <https://discuss.elastic.co/t/help-parsing-websphere-log-entry/44470>\
**Category:** Logstash\
**Created:** [March 15, 2016, 5:59pm UTC](https://discuss.elastic.co/t/help-parsing-websphere-log-entry/44470 "2016-03-15T17:59:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rameeelastic](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rameeelastic](https://discuss.elastic.co/u/rameeelastic)\
**Post date:** [March 15, 2016, 5:59pm UTC](https://discuss.elastic.co/t/help-parsing-websphere-log-entry/44470/1 "2016-03-15T17:59:24Z")

</div>

I have a websphere log entry as follows  
[3/15/16 20:47:40:923 CEST] 0000005f MediationFlow E CWSXM1017E: Request flow runtime instance is unavailable due to a flow build error: 'null'.

I am able to parse the entire data using the below grok filter  
grok {  
match =\> ["message", "%{SYSLOG5424SD:EventTime} %{WORD:ErrorNumber} %{WORD:Module} (?[^\*]{0,1500})"]  
}

My problem is how to convert the retrieved time stamp because I get it as [3/15/16 20:47:40:923 CEST].

The reason I want to convert it is because I want the logstash @timestamp value to be that of the logged time of the log entry.

Please help  
Thanks

I

---

<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:** [March 15, 2016, 8:12pm UTC](https://discuss.elastic.co/t/help-parsing-websphere-log-entry/44470/2 "2016-03-15T20:12:00Z")

</div>

Something like

```auto
date {
  match => ["EventTime", "'['MM/dd/yy HH:mm:ss:SSS 'CEST]'"]
}

```

might work.

---

<div class="post-metadata">

**Author:** ![rameeelastic](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rameeelastic](https://discuss.elastic.co/u/rameeelastic)\
**Post date:** [March 17, 2016, 8:22am UTC](https://discuss.elastic.co/t/help-parsing-websphere-log-entry/44470/3 "2016-03-17T08:22:20Z")

</div>

Thanks , let me the test it out and confirm

---

<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:** [July 6, 2017, 5:06am UTC](https://discuss.elastic.co/t/help-parsing-websphere-log-entry/44470/4 "2017-07-06T05:06:41Z")

</div>

Closed on July 6, 2017, 5:06am UTC


