# How to change logstash default timezone

**URL:** <https://discuss.elastic.co/t/how-to-change-logstash-default-timezone/266771>\
**Category:** Logstash\
**Created:** [March 10, 2021, 8:09am UTC](https://discuss.elastic.co/t/how-to-change-logstash-default-timezone/266771 "2021-03-10T08:09:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreedhar1](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@sreedhar1](https://discuss.elastic.co/u/sreedhar1)\
**Post date:** [March 10, 2021, 8:09am UTC](https://discuss.elastic.co/t/how-to-change-logstash-default-timezone/266771/1 "2021-03-10T08:09:10Z")

</div>

I am using Logstash to populate data to Elasticsearch server.  
By default Elasticsearch using UTC format to populate the data.

How to change UTC to local time zone?

---

<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:** [March 10, 2021, 3:53pm UTC](https://discuss.elastic.co/t/how-to-change-logstash-default-timezone/266771/2 "2021-03-10T15:53:04Z")

</div>

elasticsearch always uses UTC. It is the job of the presentation layer (Kibana) to change that to the local time zone. You can lie to elasticsearch about what timezone your data is in, but do not be surprised if other parts of the elastic stack then get confused.

---

<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:** [April 7, 2021, 3:53pm UTC](https://discuss.elastic.co/t/how-to-change-logstash-default-timezone/266771/3 "2021-04-07T15:53:27Z")

</div>

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