我是以updatime为追踪字段,但是updatetime发生变化,logstash也没发生啥动静,更新数据.
就一直没动
这是我的配置
就一直没动
这是我的配置
jdbc_driver_library => "D:\logstash-7.0.0\lib\mysql-connector-java-5.1.41.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_paging_enabled => "true"
jdbc_page_size => "50000"
codec => plain { charset => "UTF-8"}
tracking_column => updateTime
tracking_column_type => "timestamp"
record_last_run => true
last_run_metadata_path => "D:/logstash-7.0.0/lastrun/logstash_jdbc_last_run"
jdbc_default_timezone => "Asia/Shanghai" #//设置时区
statement_filepath => "D:\logstash-7.0.0\bin\jdbc.sql"
2 个回复
qwj
赞同来自:
Memento - Memento
赞同来自: