Logstash TypeError:未将整数隐式转换为字符串
在我的管道中出现了这个问题:TypeError:没有将整数隐式转换为字符串 我正在使用centos7,并已通过yum安装Logstash TypeError:未将整数隐式转换为字符串,logstash,logstash-jdbc,Logstash,Logstash Jdbc,在我的管道中出现了这个问题:TypeError:没有将整数隐式转换为字符串 我正在使用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 a
# 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中我遇到了相同的问题,并通过以下步骤解决:
由于chu()为我找到了解决方案。。。麋鹿7.3