Time difference in last_run_metadata_path file when Logstash and source database are in different timezones

You might be able to set the timezone in the connection string.