JDBC input plugin installed by default


(Craig Foote) #1

Any chance of anytime soon the JDBC Logstash input plugin being installed by default?

https://rubygems.org/gems/logstash-input-jdbc


(Mark Walkom) #2

If you'd like to see this then please raise a feature request against the main LS repo :slight_smile:


#3

Error: java::oracle.jdbc.OracleDriver not loaded. Are you sure you've included t
he correct jdbc driver in :jdbc_driver_library?
You may be interested in the '--configtest' flag which you can
use to validate logstash's configuration before you choose
to restart a running system.

I am using LS version 2.0.0

I am having following error WARKOLM please help
my conf file is

file: contacts-index-logstash.conf

input {
jdbc {
jdbc_connection_string => "jdbc:oracle:thin:@//host:port/mydbname"
jdbc_user => "mydbname"
jdbc_password => "mydbname"
jdbc_validate_connection => true
jdbc_driver_library => "C:\Users\vikas.saini\Desktop\easy search\ojdbc7.jar"
jdbc_driver_class => "java::oracle.jdbc.OracleDriver"
statement => "SELECT * from PDBDOCUMENT"
}
}
output {
elasticsearch {
index => "contacts"
document_type => "contact"
document_id => "%{uid}"
hosts => "127.0.0.1:9200"
}
}


(Mark Walkom) #4

Please start your own thread.


#5

sorry i am new here .dont know from where to start


#6

please reply i am still stuck


(Craig Foote) #7

Thanks Mark, I've done that and gotten a response already too! https://github.com/elastic/logstash/issues/4154


(system) #8