# Help to parse date time

**URL:** <https://discuss.elastic.co/t/help-to-parse-date-time/312045>\
**Category:** Logstash\
**Created:** [August 13, 2022, 6:25am UTC](https://discuss.elastic.co/t/help-to-parse-date-time/312045 "2022-08-13T06:25:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Claudio\_Ract\_Costa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/claudio_ract_costa/32/26095_2.png) [@Claudio\_Ract\_Costa](https://discuss.elastic.co/u/Claudio_Ract_Costa)\
**Post date:** [August 13, 2022, 6:25am UTC](https://discuss.elastic.co/t/help-to-parse-date-time/312045/1 "2022-08-13T06:25:46Z")

</div>

Hi,

I am trying to parse datetime bellow on logstash but i couldnt.

The line is:

> **"Aug 13, 2022 02:24:02.532177318 -03"** |10.191.69.248|60542|10.110.62.45|3868|||PABLM01-SAECIS01-Gx-Openet;787252731;575065246;62f6e893-9e02||||2001

Does anyone now how can i parse this first field **"Aug 13, 2022 02:24:02.532177318 -03"** to nanosecond in @timestamp field ?

---

<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:** [August 13, 2022, 4:15pm UTC](https://discuss.elastic.co/t/help-to-parse-date-time/312045/2 "2022-08-13T16:15:47Z")

</div>

The date filter does not support nanosecond precision. The json filter does, so you can do something like [this](https://stackoverflow.com/a/70788618/11792977).

---

<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:** [September 10, 2022, 4:15pm UTC](https://discuss.elastic.co/t/help-to-parse-date-time/312045/3 "2022-09-10T16:15:50Z")

</div>

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