# Logstatsh Time Zone issue

**URL:** <https://discuss.elastic.co/t/logstatsh-time-zone-issue/297280>\
**Category:** Logstash\
**Created:** [February 15, 2022, 5:48pm UTC](https://discuss.elastic.co/t/logstatsh-time-zone-issue/297280 "2022-02-15T17:48:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [February 15, 2022, 5:55pm UTC](https://discuss.elastic.co/t/logstatsh-time-zone-issue/297280/2 "2022-02-15T17:55:39Z")

</div>

The jdbc filter automatically transforms date/time columns in a database into LogStash::Timestamp objects, these include a time in UTC. So if the column just contains a date it will get offset according to the timezone.

Possible solutions [here](https://discuss.elastic.co/t/stuck-with-timezone-issue-in-logstash-jdbc-input/236707/4).

---

_[View the full topic](https://discuss.elastic.co/t/logstatsh-time-zone-issue/297280)._
