file: contacts-index-logstash.conf
input {
jdbc {
jdbc_connection_string => "jdbc:oracle:thin:@//192.168.54.74:1521/od6oracle"
jdbc_user => "od6oracle"
jdbc_password => "od6oracle"
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"
}
}
my conf file .i am using LS 2.0.0
and i am having following error
Error: java::oracle.jdbc.OracleDriver not loaded. Are you sure you've included
the 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.