I am running into a bit of an issue with Logstash 6.6.0 and it processing Syslog messages. For some reason it is setting the @timestamp field to America/New_York time thinking that it is UTC time (Kibana is also displaying it as if it thinks the field is UTC). I have been messing around with the issue all day, but I have been unable to find a solution to my problem.
As you can see the timestamp is set to 2019-01-31T20:57:32.000Z, however this is actually the America/New_York time, in UTC time it should be 2019-02-01T01:57:32.000Z
Is there anything that can be done to fix this though? Because it is definitely not UTC time. Is this something that is wrong on the remote server end with rsyslog, or is this still an issue with Logstash?
Perhaps there maybe some miscommunication with the issue at hand. I know that @timestamp always uses UTC as its timezone. The issue is that it is marking the @timestamp as UTC, but @timestamp is given the value of America/New_York timezone and not given the value of UTC timezone as it should be.
I decided not to use the timezone input on the syslog input, because there are multiple hosts going through this pipeline, and only one of the hosts is sending the incorrect timestamp info. The code above is nested in a filter which only changes the affected host.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.