# @timestamp type change for Kibana3

**URL:** <https://discuss.elastic.co/t/timestamp-type-change-for-kibana3/14503>\
**Category:** Elasticsearch\
**Created:** [November 20, 2013, 9:45pm UTC](https://discuss.elastic.co/t/timestamp-type-change-for-kibana3/14503 "2013-11-20T21:45:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahesh\_k](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@mahesh\_k](https://discuss.elastic.co/u/mahesh_k)\
**Post date:** [November 20, 2013, 9:45pm UTC](https://discuss.elastic.co/t/timestamp-type-change-for-kibana3/14503/1 "2013-11-20T21:45:57Z")

</div>

Hi All,

Iam using logstash+elasticsearch+kibana3 in my local machine, having  
trouble to create histograms in Kibana3 with hostname & date wise logcount.

i have gone through some of the articles, found the @timestamp type is  
having "date".  
i feel if i change to @timestamp type to string, hopefully i may meet my  
requirements.

Please suggest how can i update following lines.

[http://localhost:9200/\_mapping?pretty](http://localhost:9200/_mapping?pretty)

"@timestamp" : {  
"type" : "date",  
"format" : "dateOptionalTime"  
},

Want to make it as

"@timestamp" : {  
"type" : "string",  
},

also, let me know if we have any other way to meet my requirements.

--  
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:05am UTC](https://discuss.elastic.co/t/timestamp-type-change-for-kibana3/14503/2 "2017-07-06T02:05:50Z")

</div>

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


