在我的管道中会发生此问题:TypeError:没有将Integer隐式转换为String
我正在使用centos7,并且已经由yum安装了
# Sample Logstash configuration for creating a simple
input {
jdbc {
jdbc_connection_string => "jdbc:oracle:thin:@0.0.0.0:1521:DB"
# The user we wish to execute our statement as
jdbc_user => "******"
jdbc_password => "*******"
# The path to our downloaded jdbc driver
jdbc_driver_library => "\etc\logstash\conf.d\jdbc\ojdbc7.jar"
jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver"
# our query
statement => "select * from test"
}
}
output {
stdout { codec => json_lines }
elasticsearch { }
}
希望将数据插入elasticsearch
答案 0 :(得分:2)
我遇到了同样的问题,并通过以下步骤解决了问题:
此logtash之后将还原一些内部数据,并且将再次起作用。
找到解决方案的原因是 chu (https://discuss.elastic.co/t/error-registering-plugin-pipeline-aborted-due-to-error-typeerror-cant-dup-fixnum-failed-to-execute-action/128987/4)