logstash-6.3.1 启动报错
匿名 | 发布于2018年07月17日 | 阅读数:2995input{
stdin{
}
jdbc{
jdbc_connection_string => "jdbc:oracle:thin:NNOA/NNOA@//127.0.0.1:1521/orcl"
jdbc_user => "NNOA"
jdbc_password => "NNOA"
jdbc_driver_library => "D:\elasticsearch\logstash-6.3.1\bin\config\ojdbc6.jar"
jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver"
record_last_run => "true"
use_column_value => "false"
tracking_column => "id"
clean_run => "false"
jdbc_paging_enabled => "true"
jdbc_page_size => "50"
statement_filepath =>"D:\elasticsearch\logstash-6.3.1\bin\config\jdbc.sql"
schedule => "* * * * *"
type => "tstype"
}
}
output{
elasticsearch{
hosts => "localhost:9200"
index => "text"
document_id => "%{id}"
}
}
sql文件的SQL:SELECT * FROM SCROLEUSER
是什么问题? 望各位大佬指教
3 个回复
medcl - 今晚打老虎。
赞同来自: zev
zqc0512 - andy zhou
赞同来自: zev
这是有问题吧。好像不要NNOA啊……
elasticStack - 90后it大数据男
赞同来自: