We are using LogStash version 7.3.2 to fetch SQL Server data.
And it is working fine but sometimes it is throwing below exception:
Exception when executi
In Logstash if a datetime
string has no TZ part
it is assumed to be a UTC time
.
If you know that the datetime is a local time string then you need to tell the date filter which timezone the date was generated in. You may use one of the Joda timezones,
e.g. America/New_York
, America/Detroit
or EST5EDT
- these are merely labels that point to Timezone Java code that know what changes in clocks occurred in all timezones for quite some time into the past.
See this page for info on how the updates are followed. http://www.oracle.com/technetwork/java/javase/tzdata-versions-138805.html 100
Once the datetime string is converted to a Timestamp object (by the date filter) it is considered UTC time
.