# How to manage different timezone

**URL:** <https://discuss.elastic.co/t/how-to-manage-different-timezone/192867>\
**Category:** Logstash\
**Created:** [July 30, 2019, 10:02am UTC](https://discuss.elastic.co/t/how-to-manage-different-timezone/192867 "2019-07-30T10:02:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MARCO\_RAMBALDI](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_rambaldi/32/46108_2.png) [@MARCO\_RAMBALDI](https://discuss.elastic.co/u/MARCO_RAMBALDI)\
**Post date:** [July 30, 2019, 10:02am UTC](https://discuss.elastic.co/t/how-to-manage-different-timezone/192867/1 "2019-07-30T10:02:46Z")

</div>

Hi,  
I'm uploading IoT data via logstash to elasticsearch. The data comes from machines that have a datetime with different time zones. I realized that the time is changed by the local timezone (the time is moved forward by 1 hours wherever they come from). I tried to put UTC in the advanced settings of kibana, but in this way the time of the application is also changed (in this case of 2 hours). How can I solve it?

I tried to use this into the jdbc\_input\_plugin:

jdbc\_default\_timezone =\> "UTC"

but nothing changes.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [July 30, 2019, 1:59pm UTC](https://discuss.elastic.co/t/how-to-manage-different-timezone/192867/2 "2019-07-30T13:59:34Z")

</div>

If you are getting data with different timezones depending on the source, then you could mutate+convert them back to strings, then run them through a date filter selected conditionally based on the source.

---

<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:** [August 27, 2019, 2:02pm UTC](https://discuss.elastic.co/t/how-to-manage-different-timezone/192867/3 "2019-08-27T14:02:51Z")

</div>

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