2

In my pipeline this problem occurs: TypeError: no implicit conversion of Integer into String

I am using centos7 and I have installed it by 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 { }
}

It was expected to insert data into elasticsearch

1 Answers1

2

I had the same problem and solved using the following steps:

  1. Stop your logstash service
  2. Add clean_run => true into your jdbc input
  3. Start your logstash service again

After this logstash is going to restore some inner data and will work again.

Solution found thanks to chu (https://discuss.elastic.co/t/error-registering-plugin-pipeline-aborted-due-to-error-typeerror-cant-dup-fixnum-failed-to-execute-action/128987/4)