# @timestamp parsing failure

**URL:** <https://discuss.elastic.co/t/timestamp-parsing-failure/176779>\
**Category:** Elasticsearch\
**Created:** [April 14, 2019, 11:54am UTC](https://discuss.elastic.co/t/timestamp-parsing-failure/176779 "2019-04-14T11:54:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkasrai](https://avatars.discourse-cdn.com/v4/letter/b/b5a626/32.png) [@bkasrai](https://discuss.elastic.co/u/bkasrai)\
**Post date:** [April 14, 2019, 11:54am UTC](https://discuss.elastic.co/t/timestamp-parsing-failure/176779/1 "2019-04-14T11:54:23Z")

</div>

Hi All,  
I was going through trying to find something relevant to the issue I am experiencing however I have been unable to locate one to my specific use case-I was hoping for some guidance here as this is one I have not experienced before.  
When sending logs from logstash to ES AFTER creating an index template (as I need specific fields mapped), I am unable to generate an index pattern. (indexes do get created in Index Management though but no pattern) Upon further review of the ES logs, I am seeing this error-  
\<org.elasticsearch.index.mapper.MapperParsingException: failed to parse field [@timestamp] of type [date]\> and when reviewing the actual records being parsed to ES, i see the @timestamp mapped properly in my template. Please let me know if you all need anymore information as I am kind of stumped as into what is happening here.  
"@timestamp":"2019-03-28T18:12:36.000Z"

My template is copied below-  
},  
"mappings" : {  
"doc" : {  
"dynamic" : "true",  
"dynamic\_templates" : [  
{  
"base" : {  
"match\_mapping\_type" : "string",  
"mapping" : {  
"fields" : {  
"keyword" : {  
"type" : "keyword"  
}  
},  
"type" : "text"  
}  
}  
}  
],  
"numeric\_detection" : true,  
"properties" : {  
"@timestamp" : {  
"type" : "date",  
"format" : "yyyy-mm-dd"T"HH:mm:ss.SSSZ"  
},

---

<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:** [May 12, 2019, 11:54am UTC](https://discuss.elastic.co/t/timestamp-parsing-failure/176779/2 "2019-05-12T11:54:23Z")

</div>

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