# Timestamp problem - SOLVED

**URL:** <https://discuss.elastic.co/t/timestamp-problem-solved/82519>\
**Category:** Logstash\
**Created:** [April 17, 2017, 12:38am UTC](https://discuss.elastic.co/t/timestamp-problem-solved/82519 "2017-04-17T00:38:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wayne\_Taylor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wayne_taylor/32/45984_2.png) [@Wayne\_Taylor](https://discuss.elastic.co/u/Wayne_Taylor)\
**Post date:** [April 17, 2017, 12:38am UTC](https://discuss.elastic.co/t/timestamp-problem-solved/82519/1 "2017-04-17T00:38:19Z")

</div>

Dear Logstash Users,

Sorry, i've seen many threads but they didn't seem to solve my problem.

Specifically:

1. Using Logstash 5.3.0 / ES hosted 5.3.0
2. Logstash is running locally on my machine (Mac : maybe this is causing the problem?)
3. My local timezone is America/Chicago
4. My input database is UTC

I am seeing events in Kibana with times in the future and this graphing is wrong etc.

I noticed that if i set my mac into UTC timezone this problem goes away. Thus, somewhere, i know obviously i need to set a timezone. I saw one of the posts with a response from Marcus suggesting never to set this.

Thus i'm confused..

What should i do?

Thanks  
Wayne

---

<div class="post-metadata">

**Author:** ![Wayne\_Taylor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wayne_taylor/32/45984_2.png) [@Wayne\_Taylor](https://discuss.elastic.co/u/Wayne_Taylor)\
**Post date:** [April 17, 2017, 12:57am UTC](https://discuss.elastic.co/t/timestamp-problem-solved/82519/2 "2017-04-17T00:57:57Z")

</div>

solving my own problem but this helps:

export LS\_JAVA\_OPTS="-Duser.timezone='-06:00'"

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [April 17, 2017, 1:46am UTC](https://discuss.elastic.co/t/timestamp-problem-solved/82519/3 "2017-04-17T01:46:38Z")

</div>

The proper place for that option/flag is the jvm.options file.

---

<div class="post-metadata">

**Author:** ![Wayne\_Taylor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wayne_taylor/32/45984_2.png) [@Wayne\_Taylor](https://discuss.elastic.co/u/Wayne_Taylor)\
**Post date:** [April 17, 2017, 3:46am UTC](https://discuss.elastic.co/t/timestamp-problem-solved/82519/4 "2017-04-17T03:46:19Z")

</div>

Thanks for the tip @theuntergeek

---

<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:** [May 15, 2017, 3:51am UTC](https://discuss.elastic.co/t/timestamp-problem-solved/82519/5 "2017-05-15T03:51:47Z")

</div>

Closed on May 15, 2017, 3:51am UTC

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