# Date in index is different from the one visualized in kibana

**URL:** <https://discuss.elastic.co/t/date-in-index-is-different-from-the-one-visualized-in-kibana/107522>\
**Category:** Kibana\
**Created:** [November 14, 2017, 9:25am UTC](https://discuss.elastic.co/t/date-in-index-is-different-from-the-one-visualized-in-kibana/107522 "2017-11-14T09:25:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Navinder](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@Navinder](https://discuss.elastic.co/u/Navinder)\
**Post date:** [November 14, 2017, 9:25am UTC](https://discuss.elastic.co/t/date-in-index-is-different-from-the-one-visualized-in-kibana/107522/1 "2017-11-14T09:25:26Z")

</div>

I had sent the data below on an index

{"date":"2017-11-13T23:00:00","count":54505}'

This is how it looks in Kibana

{  
"\_index": "cthtranshourly",  
"\_type": "logs",  
"\_id": "2017111323",  
"\_score": 1,  
"\_source": {  
"date": "2017-11-13T23:00:00",  
"count": 54505  
},  
"fields": {  
"date": [  
1510614000000  
]  
}  
}

Not sure why but the date it displays for this point in kibana is 2017-11-14T04:30:00

Please help.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 14, 2017, 9:27am UTC](https://discuss.elastic.co/t/date-in-index-is-different-from-the-one-visualized-in-kibana/107522/2 "2017-11-14T09:27:15Z")

</div>

Kibana converts UTC timestamps to whatever timezone the browser is set as.

---

<div class="post-metadata">

**Author:** ![Navinder](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@Navinder](https://discuss.elastic.co/u/Navinder)\
**Post date:** [November 14, 2017, 9:30am UTC](https://discuss.elastic.co/t/date-in-index-is-different-from-the-one-visualized-in-kibana/107522/3 "2017-11-14T09:30:34Z")

</div>

Thanks alot @warkolm. What is the solution if I want to keep the same time in visualtization. Or the time being sent is in PST.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 14, 2017, 9:38am UTC](https://discuss.elastic.co/t/date-in-index-is-different-from-the-one-visualized-in-kibana/107522/4 "2017-11-14T09:38:31Z")

</div>

You can specify a timezone in advanced options - [https://www.elastic.co/guide/en/kibana/5.6/advanced-options.html](https://www.elastic.co/guide/en/kibana/5.6/advanced-options.html)

But if the time in Elasticsearch is supposed to be in PST then maybe you should convert that to UTC, so when Kibana does show it it will be correct for the browser.

---

<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:** [December 12, 2017, 9:41am UTC](https://discuss.elastic.co/t/date-in-index-is-different-from-the-one-visualized-in-kibana/107522/5 "2017-12-12T09:41:34Z")

</div>

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