# Date parse error in template

**URL:** <https://discuss.elastic.co/t/date-parse-error-in-template/216101>\
**Category:** Elasticsearch\
**Created:** [January 22, 2020, 4:43pm UTC](https://discuss.elastic.co/t/date-parse-error-in-template/216101 "2020-01-22T16:43:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishnuvardhan](https://avatars.discourse-cdn.com/v4/letter/v/50afbb/32.png) [@vishnuvardhan](https://discuss.elastic.co/u/vishnuvardhan)\
**Post date:** [January 22, 2020, 4:43pm UTC](https://discuss.elastic.co/t/date-parse-error-in-template/216101/1 "2020-01-22T16:43:27Z")

</div>

after creation of template i am getting error ,  
"reason"=\>"failed to parse date field [06-APR-18 12:58:13] with format [dd-MMM-yy HH:mm:ss]", "caused\_by"=\>{"type"=\>"date\_time\_parse\_exception", "reason"=\>"Text '06-APR-18 12:58:13' could not be parsed at index 3"  
i tried with dd-MMM-yy HH:mm:ss and dd-MMM-y HH:mm:ss same issue is there

how to write specific date time match format of "06-APR-18 12:58:13"  
Please help me .

---

<div class="post-metadata">

**Author:** ![vishnuvardhan](https://avatars.discourse-cdn.com/v4/letter/v/50afbb/32.png) [@vishnuvardhan](https://discuss.elastic.co/u/vishnuvardhan)\
**Post date:** [January 23, 2020, 7:53am UTC](https://discuss.elastic.co/t/date-parse-error-in-template/216101/2 "2020-01-23T07:53:42Z")

</div>

please help me anyone ..  
thanks in advance

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [January 23, 2020, 10:42am UTC](https://discuss.elastic.co/t/date-parse-error-in-template/216101/3 "2020-01-23T10:42:52Z")

</div>

please do not reply on your own threads after only a few hours of inactivity. This is not a professional and paid support site, but a forum with voluntary participation. If you need paid support with SLAs, check out [https://www.elastic.co/subscriptions](https://www.elastic.co/subscriptions)

That said, you might want to try only capitalizing the first letter of the month.

---

<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:** [February 20, 2020, 10:43am UTC](https://discuss.elastic.co/t/date-parse-error-in-template/216101/4 "2020-02-20T10:43:00Z")

</div>

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