# How to covert 04-Mar-2020 19:20:06 o'clock GMT using Date Filter

**URL:** <https://discuss.elastic.co/t/how-to-covert-04-mar-2020-1906-oclock-gmt-using-date-filter/222158>\
**Category:** Logstash\
**Created:** [March 4, 2020, 8:43pm UTC](https://discuss.elastic.co/t/how-to-covert-04-mar-2020-1906-oclock-gmt-using-date-filter/222158 "2020-03-04T20:43:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![keshavl](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@keshavl](https://discuss.elastic.co/u/keshavl)\
**Post date:** [March 4, 2020, 8:43pm UTC](https://discuss.elastic.co/t/how-to-covert-04-mar-2020-1906-oclock-gmt-using-date-filter/222158/1 "2020-03-04T20:43:50Z")

</div>

HI,  
I have an Weblogic Server which populates logs and date within logs is in format as "04-Mar-2020 19:20:06 o'clock GMT". What format should I use to covert this String into @Timestamp using DATE filter of logstash ?

---

<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:** [March 4, 2020, 10:11pm UTC](https://discuss.elastic.co/t/how-to-covert-04-mar-2020-1906-oclock-gmt-using-date-filter/222158/2 "2020-03-04T22:11:09Z")

</div>

I would use dissect to extract the first two fields then a date filter with "dd-MMM-yyyy HH:mm:ss".

---

<div class="post-metadata">

**Author:** ![keshavl](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@keshavl](https://discuss.elastic.co/u/keshavl)\
**Post date:** [March 4, 2020, 10:12pm UTC](https://discuss.elastic.co/t/how-to-covert-04-mar-2020-1906-oclock-gmt-using-date-filter/222158/3 "2020-03-04T22:12:39Z")

</div>

ok ..thanks will try that way

---

<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 1, 2020, 10:12pm UTC](https://discuss.elastic.co/t/how-to-covert-04-mar-2020-1906-oclock-gmt-using-date-filter/222158/4 "2020-04-01T22:12:43Z")

</div>

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