# Jdbc - logstash service changes timezone affecting data in kibana

**URL:** <https://discuss.elastic.co/t/jdbc-logstash-service-changes-timezone-affecting-data-in-kibana/72137>\
**Category:** Logstash\
**Created:** [January 19, 2017, 9:05am UTC](https://discuss.elastic.co/t/jdbc-logstash-service-changes-timezone-affecting-data-in-kibana/72137 "2017-01-19T09:05:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilisade](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gilisade/32/98740_2.png) [@gilisade](https://discuss.elastic.co/u/gilisade)\
**Post date:** [January 19, 2017, 9:05am UTC](https://discuss.elastic.co/t/jdbc-logstash-service-changes-timezone-affecting-data-in-kibana/72137/1 "2017-01-19T09:05:31Z")

</div>

hi there  
i have a jdbc configuration to get data from oracle tables.

when running the configuration with the logstash service (meaning putting it in /etc/logstash/conf.d ) and restarting the service i get data with timestamp + 2 hours  
example - the event timestamp is 9:00 AM but in kibana it shows 11:00 AM - which is wrong

BUT  
when running the configuration manually (/usr/share/logstash/bin/logstash -f /path/to/conf\_file ) the data arrives just fine and the timestamp is correct ( shows 9:00 in kibana)

note: i'm running the EXACT same configuration

tried to add timezone=\> "UTC" and timezone=\> "Asia/Jerusalem"  
but the same thing keeps happening ( extra 2 hours)

it's like the service of logstash does not know the correct timezone

any idea why?

---

<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:** [February 16, 2017, 9:05am UTC](https://discuss.elastic.co/t/jdbc-logstash-service-changes-timezone-affecting-data-in-kibana/72137/2 "2017-02-16T09:05:49Z")

</div>

Closed on February 16, 2017, 9:05am UTC

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