Hi,
I am using Logstash-2.1.1. I want to fetch data from Oracle database and to put into ES.
I'm using following configuration. But it is saying that
"Error: oracle.jdbc.driver.OracleDriver not loaded. Are you sure you've included the correct jdbc driver in :jdbc_driver_library?"
Here is my logstash configuration,
input {
jdbc {
jdbc_driver_library => "D:/ES/logstash/bin/ojdbc14.jar"
jdbc_driver_class => "oracle.jdbc.driver.OracleDriver"
jdbc_connection_string => "jdbc:oracle:thin:@10.74.160.27:1521:xe"
jdbc_user => "kibana"
jdbc_password => "kibana"
statement => "select name from k_session_lock_info_v"
}
}
output {
elasticsearch {
hosts => "10.76.133.155:9200"
action => "index"
index => "smartsession"
}
stdout { codec => rubydebug }
}