# Logstash: Error: oracle.jdbc.driver.OracleDriver not loaded. Are you sure you've included the correct jdbc driver in :jdbc\_driver\_library?

**URL:** https://discuss.elastic.co/t/logstash-error-oracle-jdbc-driver-oracledriver-not-loaded-are-you-sure-youve-included-the-correct-jdbc-driver-in-jdbc-driver-library/46501
**Category:** Logstash
**Created:** [April 6, 2016, 9:25am UTC](https://discuss.elastic.co/t/logstash-error-oracle-jdbc-driver-oracledriver-not-loaded-are-you-sure-youve-included-the-correct-jdbc-driver-in-jdbc-driver-library/46501 "2016-04-06T09:25:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![krushnat\_khawale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krushnat_khawale/32/6652_2.png) [@krushnat\_khawale](https://discuss.elastic.co/u/krushnat_khawale)
#### Post date: [April 6, 2016, 9:25am UTC](https://discuss.elastic.co/t/logstash-error-oracle-jdbc-driver-oracledriver-not-loaded-are-you-sure-youve-included-the-correct-jdbc-driver-in-jdbc-driver-library/46501/1 "2016-04-06T09:25:19Z")

</div>

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 }
}
```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 5:03am UTC](https://discuss.elastic.co/t/logstash-error-oracle-jdbc-driver-oracledriver-not-loaded-are-you-sure-youve-included-the-correct-jdbc-driver-in-jdbc-driver-library/46501/2 "2017-07-06T05:03:34Z")

</div>


