logstash同步oracle 中文字段乱码怎么解?

输入里面已经加了codec => plain { charset => "UTF-8"}  ,还是乱码
jdbc{
jdbc_connection_string => "jdbc:oracle:thin:@//10.1.10.12:1521/orcl"
jdbc_user => "slga_20180313"
jdbc_password => "slga_20180313"

jdbc_driver_library => "lib\ojdbc6.jar"
jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver"
record_last_run => "true"
use_column_value => "true"
tracking_column => "id"
record_last_run =>true
last_run_metadata_path =>"/oracle/station_parameter.txt"
clean_run => "false"
jdbc_paging_enabled => "true"
jdbc_page_size => "50000"
statement_filepath =>"jdbc.sql"
codec => plain { charset => "UTF-8"}  
schedule => "* * * * *"
type => "index_lqjw_type"
lowercase_column_names => false

}
已邀请:

要回复问题请先登录注册