# Failed to parse the date format

**URL:** <https://discuss.elastic.co/t/failed-to-parse-the-date-format/273400>\
**Category:** Elasticsearch\
**Created:** [May 19, 2021, 12:02pm UTC](https://discuss.elastic.co/t/failed-to-parse-the-date-format/273400 "2021-05-19T12:02:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramalakshmi](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@Ramalakshmi](https://discuss.elastic.co/u/Ramalakshmi)\
**Post date:** [May 19, 2021, 12:02pm UTC](https://discuss.elastic.co/t/failed-to-parse-the-date-format/273400/1 "2021-05-19T12:02:42Z")

</div>

Hi,  
I am not able to parse 06-MAY-21 03.00.01.491228 AM date format into elasticsearch. Please help me out for this

Thank you.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 20, 2021, 4:48am UTC](https://discuss.elastic.co/t/failed-to-parse-the-date-format/273400/2 "2021-05-20T04:48:21Z")

</div>

Parse it how?

---

<div class="post-metadata">

**Author:** ![Ramalakshmi](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@Ramalakshmi](https://discuss.elastic.co/u/Ramalakshmi)\
**Post date:** [May 24, 2021, 11:04am UTC](https://discuss.elastic.co/t/failed-to-parse-the-date-format/273400/3 "2021-05-24T11:04:27Z")

</div>

In the message we are having above date format because of that the data is not able to index into elasticsearch.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 24, 2021, 9:44pm UTC](https://discuss.elastic.co/t/failed-to-parse-the-date-format/273400/4 "2021-05-24T21:44:29Z")

</div>

Via Logstash? An Elasticsearch ingest pipeline? Via a custom script?

---

<div class="post-metadata">

**Author:** ![Ramalakshmi](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@Ramalakshmi](https://discuss.elastic.co/u/Ramalakshmi)\
**Post date:** [May 25, 2021, 1:40pm UTC](https://discuss.elastic.co/t/failed-to-parse-the-date-format/273400/5 "2021-05-25T13:40:51Z")

</div>

via logstash, indexing the data to elasticsearch

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 25, 2021, 10:55pm UTC](https://discuss.elastic.co/t/failed-to-parse-the-date-format/273400/6 "2021-05-25T22:55:55Z")

</div>

Ok well you really need to be a little more forthcoming with information here. Providing configs, logs, examples of what is or is not working are helpful.

---

<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:** [June 22, 2021, 10:56pm UTC](https://discuss.elastic.co/t/failed-to-parse-the-date-format/273400/7 "2021-06-22T22:56:11Z")

</div>

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