# ES 0.90.5 failing to parse date format

**URL:** <https://discuss.elastic.co/t/es-0-90-5-failing-to-parse-date-format/13811>\
**Category:** Elasticsearch\
**Created:** [October 1, 2013, 6:23am UTC](https://discuss.elastic.co/t/es-0-90-5-failing-to-parse-date-format/13811 "2013-10-01T06:23:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![subin](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@subin](https://discuss.elastic.co/u/subin)\
**Post date:** [October 1, 2013, 6:23am UTC](https://discuss.elastic.co/t/es-0-90-5-failing-to-parse-date-format/13811/1 "2013-10-01T06:23:05Z")

</div>

On ES 0.90.5, I have this error [https://gist.github.com/osssubb/6774414](https://gist.github.com/osssubb/6774414)coming up in the logs.

While this error came up I had this as my ES template:  
[https://gist.github.com/osssubb/6740562](https://gist.github.com/osssubb/6740562). The new logs that came in today  
had time-format as 'Oct 1 01:45:01'. Please notice that there are 2 spaces  
between 'Oct' and '1'. While in my ES template, I've defined date-format as  
'MMM dd HH:mm:ss' where there is only a single space between the last  
alphabet of the month and first digit of the date. I thought this might be  
the reason for error and:

(i) I changed the mapping of date of the aforementioned ES-template to:  
"date": { "type": "date", "format": "MMM dd HH:mm:ss||MMM d HH:mm:ss",  
"index": "analyzed" }.  
Same errors still came up.

(ii) I deleted the whole mapping-template and re-started ES without any  
mapping at all. The error still persisted.

Please advise on how to solve this.

Thank you.

--  
Subin

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![subin](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@subin](https://discuss.elastic.co/u/subin)\
**Post date:** [October 4, 2013, 4:16am UTC](https://discuss.elastic.co/t/es-0-90-5-failing-to-parse-date-format/13811/2 "2013-10-04T04:16:01Z")

</div>

Infact, (i) did solve the issue. I was not seeing the changes reflected  
suddenly since ES was still writing to the old index which was created when  
the old mapping was in effect. When new indexes got created, the new  
mappings kicked in and the errors were no more.

On Tuesday, 1 October 2013 11:53:05 UTC+5:30, subin wrote:

> On ES 0.90.5, I have this error [https://gist.github.com/osssubb/6774414](https://gist.github.com/osssubb/6774414)coming up in the logs.
> 
> While this error came up I had this as my ES template:  
> [@fields separated but date analyzed. · GitHub](https://gist.github.com/osssubb/6740562). The new logs that came in today  
> had time-format as 'Oct 1 01:45:01'. Please notice that there are 2 spaces  
> between 'Oct' and '1'. While in my ES template, I've defined date-format as  
> 'MMM dd HH:mm:ss' where there is only a single space between the last  
> alphabet of the month and first digit of the date. I thought this might be  
> the reason for error and:
> 
> (i) I changed the mapping of date of the aforementioned ES-template to:  
> "date": { "type": "date", "format": "MMM dd HH:mm:ss||MMM d HH:mm:ss",  
> "index": "analyzed" }.  
> Same errors still came up.
> 
> (ii) I deleted the whole mapping-template and re-started ES without any  
> mapping at all. The error still persisted.
> 
> Please advise on how to solve this.
> 
> Thank you.
> 
> --  
> Subin

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:13am UTC](https://discuss.elastic.co/t/es-0-90-5-failing-to-parse-date-format/13811/3 "2017-07-06T02:13:51Z")

</div>

Closed on July 6, 2017, 2:13am UTC


