# Kibana error - ElasticSearchParseException related to date field

**URL:** https://discuss.elastic.co/t/kibana-error-elasticsearchparseexception-related-to-date-field/15026
**Category:** Elasticsearch
**Created:** [December 26, 2013, 4:43pm UTC](https://discuss.elastic.co/t/kibana-error-elasticsearchparseexception-related-to-date-field/15026 "2013-12-26T16:43:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Andra\_Bennett](https://avatars.discourse-cdn.com/v4/letter/a/839c29/32.png) [@Andra\_Bennett](https://discuss.elastic.co/u/Andra_Bennett)
#### Post date: [December 26, 2013, 4:43pm UTC](https://discuss.elastic.co/t/kibana-error-elasticsearchparseexception-related-to-date-field/15026/1 "2013-12-26T16:43:15Z")

</div>

Hello,

I would appreciate some help with the following date parse error.

I have a date mapping defined with the @Field annotation as follows:

@Field(type =  
org.springframework.data.elasticsearch.annotations.FieldType.Date, format =  
DateFormat.custom, pattern="yyyy-MM-dd HH:mm:ss")

```
private String loggedTime;

```

The data gets inserted into elastic search just fine, but when I load  
kibana3 with an table to display fields I get the following error:

_Oops!_ ElasticSearchParseException[failed to parse date field  
[2013-12-07T01:02:31.880Z], tried both date format [yyyy-MM-dd HH:mm:ss],  
and timestamp number]

The date mentioned in the error [2013-12-07T01:02:31.880Z] is part of the  
custom time filter enabled (I don't have control over its format, enabled  
it using the kibana interface).

The other relevant kibana configuration are the time picker settings -  
which refer to the loggedTime field with the mapping above, and the default  
relative and auto-refresh options mentioned.

I tried the kibana index settings with "day" and "hour", "none"  
timestamping and the index pattern to [anoraklogs-]YYYY-MM-DD HH:mm:ss  
(since that matches the time stamp mapping above).

I do not have the \_timestamp field enabled in my index.

Is the error message related to a bad configuration in elastic search or  
the kibana dashboard? Seems like it's trying to parse the time filter range  
with the format defined in the mapping… How else can I specify the kibana  
time filter to comply?

Thanks,

Andra

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/10d4eb08-ce40-4b0f-ac52-aa4c604ecbff%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/10d4eb08-ce40-4b0f-ac52-aa4c604ecbff%40googlegroups.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, 1:59am UTC](https://discuss.elastic.co/t/kibana-error-elasticsearchparseexception-related-to-date-field/15026/2 "2017-07-06T01:59:19Z")

</div>


