-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sql_last_value got converted ino local timezone, making fresh db records lookup unfeasible #293
Comments
It looks like you could be using the |
This directive
|
Same issue here. Logstash and MySQL both running at UTC+8 timezone, logstash is tracking MySQL table schema was If
If
Wonder how those timezones be converted? Maybe related to #140 ? Another thing was that, when |
Got workaround with:
Got what I expected:
config file looks like this:
|
sql_last_value
here is being converted into local timezone. So the next time it queries db, the timestamp being used is wrong.If the actual last fetched from db value of
updatedAt
in my example is2018-07-20T00:00:00.000Z
, the next query will get2018-07-20T02:00:00.000Z
in:sql_last_value
instead, shifted according to my local timezone+02:00
. So the whole procedure of fetching freshly updated db records will fail.logstash 6.3.1
Ubuntu 16.04.4 LTS
The text was updated successfully, but these errors were encountered: