# @timestamp and \_index question

**URL:** <https://discuss.elastic.co/t/timestamp-and--index-question/98448>\
**Category:** Logstash\
**Created:** [August 26, 2017, 10:07am UTC](https://discuss.elastic.co/t/timestamp-and--index-question/98448 "2017-08-26T10:07:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![f26227279](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/f26227279/32/21296_2.png) [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Post date:** [August 26, 2017, 10:07am UTC](https://discuss.elastic.co/t/timestamp-and--index-question/98448/1 "2017-08-26T10:07:20Z")

</div>

Hi everyone,  
I store syslog into elasticsearch and overview data on Kibana.  
I found that the date of @timestamp and \_index doesn't match.  
The \_index is default logstash-\* and it seems would automatically adjust from @timestamp.  
my doubt is that whether the \_index is using UTC, and how to solve it.  
this one looks doesn't match:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/f/ef1b71ac5108a1ce00f6ba955df4bb71c651136c.png)  
following data is match:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/1/618b00ec404d8f80044fabaeee373cbc197b8296.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/5/e526150b5d99ca2f901e6d3903b780f4a5617346.png)

thank you in advance : )

---

<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:** [August 26, 2017, 10:24am UTC](https://discuss.elastic.co/t/timestamp-and--index-question/98448/2 "2017-08-26T10:24:06Z")

</div>

Timestamps in Kibana are translated into the browsers timezone, so what zone are you in?

---

<div class="post-metadata">

**Author:** ![f26227279](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/f26227279/32/21296_2.png) [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Post date:** [August 26, 2017, 10:31am UTC](https://discuss.elastic.co/t/timestamp-and--index-question/98448/3 "2017-08-26T10:31:26Z")

</div>

I am in GMT+8

---

<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:** [August 26, 2017, 10:33am UTC](https://discuss.elastic.co/t/timestamp-and--index-question/98448/4 "2017-08-26T10:33:03Z")

</div>

That that looks right.

The first timestamp minus 8 hours would mean the 24th.

---

<div class="post-metadata">

**Author:** ![f26227279](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/f26227279/32/21296_2.png) [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Post date:** [August 26, 2017, 10:34am UTC](https://discuss.elastic.co/t/timestamp-and--index-question/98448/5 "2017-08-26T10:34:49Z")

</div>

could I change the \_index to my timezone?

---

<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:** [August 26, 2017, 10:38am UTC](https://discuss.elastic.co/t/timestamp-and--index-question/98448/6 "2017-08-26T10:38:00Z")

</div>

Elasticsearch and Logstash use UTC anyway, so it won't do anything.

---

<div class="post-metadata">

**Author:** ![f26227279](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/f26227279/32/21296_2.png) [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Post date:** [August 26, 2017, 10:50am UTC](https://discuss.elastic.co/t/timestamp-and--index-question/98448/7 "2017-08-26T10:50:17Z")

</div>

OK, thanks for your reply : )

---

<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:** [September 23, 2017, 10:50am UTC](https://discuss.elastic.co/t/timestamp-and--index-question/98448/8 "2017-09-23T10:50:25Z")

</div>

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