# How to change logstash jdbc last run default timezone to local

**URL:** <https://discuss.elastic.co/t/how-to-change-logstash-jdbc-last-run-default-timezone-to-local/256490>\
**Category:** Logstash\
**Created:** [November 24, 2020, 10:57am UTC](https://discuss.elastic.co/t/how-to-change-logstash-jdbc-last-run-default-timezone-to-local/256490 "2020-11-24T10:57:59Z")\
**Posts on this page:** 2\
**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:** [November 24, 2020, 10:57am UTC](https://discuss.elastic.co/t/how-to-change-logstash-jdbc-last-run-default-timezone-to-local/256490/1 "2020-11-24T10:57:59Z")

</div>

I am using logstash to sync data between sql server and elasticsearch.  
how to change timezone from UTC to LOCAL.

when i run logstash .conf jdbc lastrun 'logstash-7.10.0/.logstash\_jdbc\_last\_run' getting update with UTC time zone. how to change this from UTC to LOCAL timezone.

---

<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 22, 2020, 10:58am UTC](https://discuss.elastic.co/t/how-to-change-logstash-jdbc-last-run-default-timezone-to-local/256490/2 "2020-12-22T10:58:00Z")

</div>

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