Timestamp problem - SOLVED

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

solving my own problem but this helps:

export LS_JAVA_OPTS="-Duser.timezone='-06:00'"

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

Thanks for the tip @theuntergeek

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