logstash-plugins / logstash-input-jdbc

Logstash Plugin for JDBC Inputs
Apache License 2.0
449 stars 187 forks source link

How do I give the specified table name to "tracking_column"? #323

Open xizhimen opened 5 years ago

xizhimen commented 5 years ago

For all general issues, please provide the following details for fast resolution:

and the "/home/logstashtest/clock" not update,The logs has been repeated

I made the following attempt: tracking_column => "clock" tracking_column => "history.clock" tracking_column => "[history][clock]"

so, how do I give the specified table name to "tracking_column"?

panpetedextra commented 5 years ago

tracking_column use the field that return from your query. So I think you should use "timestamp", referred to this statement select from_unixtime(history.clock) as **timestamp**

luizhsalazar commented 5 years ago

I have the same issue in my script :( Asked all over around and can't find a way to specify table name to tracking_column