Hi all,
Have recently upgraded logstash to 5.3.2 and I'm now getting this warning:
SEQUEL DEPRECATION WARNING: Database#identifier_output_method= is deprecated and will be removed in Sequel 5. Explicitly load the identifier_mangling extension if you would like to use this.
/usr/share/logstash/vendor/bundle/jruby/1.9/gems/sequel-4.45.0/lib/sequel/extensions/_deprecated_identifier_mangling.rb:27:in `identifier_output_method='
/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-jdbc-4.1.3/lib/logstash/plugin_mixins/jdbc.rb:181:in `prepare_jdbc_connection'
/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-jdbc-4.1.3/lib/logstash/inputs/jdbc.rb:191:in `register'
/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:257:in `register_plugin'
/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:268:in `register_plugins'
/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:268:in `each'
/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:268:in `register_plugins'
/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:412:in `start_inputs'
/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:312:in `start_workers'
/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:207:in `run'
My input looks like this:
input {
jdbc {
jdbc_driver_library => "/etc/elasticsearch-jdbc/lib/ojdbc7.jar"
jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver"
jdbc_connection_string => "${DB_STRING}"
jdbc_user => "${DB_USER}"
jdbc_password => "${DB_PASSWORD}"
jdbc_fetch_size => 1000
statement_filepath => "${ES_SQL}"
parameters => { "update_date" => "${LAST_UPDATE}" }
lowercase_column_names => false
}
}
I have a feeling it's something to do with lowercase_column_names => false
but I'm not sure how to fix it. Any suggestions?
Many thanks,
Dave