# Timezone on host machine

**URL:** <https://community.influxdata.com/t/timezone-on-host-machine/13025>\
**Category:** InfluxDB 2\
**Created:** [February 14, 2020, 2:22am UTC](https://community.influxdata.com/t/timezone-on-host-machine/13025 "2020-02-14T02:22:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![junior466](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/junior466/32/1987_2.png) [@junior466](https://community.influxdata.com/u/junior466)\
**Post date:** [February 14, 2020, 2:22am UTC](https://community.influxdata.com/t/timezone-on-host-machine/13025/1 "2020-02-14T02:22:45Z")

</div>

Greetings!

Being new to Influx, I was wondering if the host machine timezone has any effect in data stored in Influx? I am having some issues with wrong timestamp in Grafana when parsing logs from Graylog and I can’t figure out the issue.

Thanks!

---

<div class="post-metadata">

**Author:** ![rawkode](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/rawkode/32/5161_2.png) [@rawkode](https://community.influxdata.com/u/rawkode)\
**Post date:** [February 15, 2020, 11:29am UTC](https://community.influxdata.com/t/timezone-on-host-machine/13025/2 "2020-02-15T11:29:28Z")

</div>

No, it does not 😀

All data in InfluxDB is stored as UTC

---

<div class="post-metadata">

**Author:** ![rawkode](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/rawkode/32/5161_2.png) [@rawkode](https://community.influxdata.com/u/rawkode)\
**Post date:** [February 15, 2020, 11:29am UTC](https://community.influxdata.com/t/timezone-on-host-machine/13025/3 "2020-02-15T11:29:52Z")

</div>

If you can expand on your issue, we can try to help you work out what has went wrong 👍

---

<div class="post-metadata">

**Author:** ![junior466](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/junior466/32/1987_2.png) [@junior466](https://community.influxdata.com/u/junior466)\
**Post date:** [February 15, 2020, 1:33pm UTC](https://community.influxdata.com/t/timezone-on-host-machine/13025/4 "2020-02-15T13:33:18Z")

</div>

Sure! I am visualizing logs in Grafana from Elasticsearch/Graylog and every since the latest Grafana update, my log data now shows in UTC instead of my local timezone, Eastern. This only happens in Grafana. It’s fine everywhere else and it only started after the latest update.

Here’s an example:

Message in Graylog:

 ![Screen Shot 2020-02-15 at 8.22.26 AM](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/3/34a3b129da75b0e1c5edfb7fda45f432fd190367.png)

Same Message in Grafana:

 ![Screen Shot 2020-02-15 at 8.23.10 AM](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/7/712285540b41e1d58758d3700f4314229dc444cd.png)

It’s simply displaying it in UTC which I understand, the default behavior but changing the options in Grafana to display in Local Browser time does not make a difference. If I set it to UTC it actually increases the time +5. Again, I updated Grafana and quickly noticed the change so I am positive it was due to the update.

I found this [PR](https://github.com/grafana/grafana/pull/20812) that could possibly be related but my lack of understanding of how everything works doesn’t allow me to explain exactly what is going on so my issue may coming across as user error (which it could be?).

[Here’s](https://github.com/grafana/grafana/issues/21890) my post at Github/Grafana and at the [community](https://community.grafana.com/t/timestamp-in-utc-after-v-6-6/25316) boards.

---

<div class="post-metadata">

**Author:** ![Mert](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/mert/32/5152_2.png) [@Mert](https://community.influxdata.com/u/Mert)\
**Post date:** [February 15, 2020, 3:47pm UTC](https://community.influxdata.com/t/timezone-on-host-machine/13025/5 "2020-02-15T15:47:18Z")

</div>

Is it possible to revert back to older version you were using to confirm your theory?

---

<div class="post-metadata">

**Author:** ![junior466](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/junior466/32/1987_2.png) [@junior466](https://community.influxdata.com/u/junior466)\
**Post date:** [February 15, 2020, 4:07pm UTC](https://community.influxdata.com/t/timezone-on-host-machine/13025/6 "2020-02-15T16:07:32Z")

</div>

I am researching that right now as I am not sure exactly what the procedure would be but definitely willing to do it.

---

<div class="post-metadata">

**Author:** ![junior466](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/junior466/32/1987_2.png) [@junior466](https://community.influxdata.com/u/junior466)\
**Post date:** [February 15, 2020, 4:30pm UTC](https://community.influxdata.com/t/timezone-on-host-machine/13025/7 "2020-02-15T16:30:42Z")

</div>

@Mert So I spun up a Ubuntu VM and installed Grafana \* v6.4.5 and sure enough, the issue is corrected so it is indeed the latest version causing it.

Screenshots:

Graylog showing correct/desired information:

 ![Screen Shot 2020-02-15 at 11.25.46 AM](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/e/e0666193ffdbf946feb0603f685f6de5895494b7.png)

Grafana v6.4.5 with correct/desired information:

 ![Screen Shot 2020-02-15 at 11.25.56 AM](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/c/c5beb652ff8d01404309ea3bef4858063cbb80c6.png)

Latest version of Grafana showing undesired date/timestamp:

 ![Screen Shot 2020-02-15 at 11.25.36 AM](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/0/0abdcbbe1e1f5a489120ca800001d7ff7e8b6b94.png)
