# Logstash-input-jdbc install issues

**URL:** <https://discuss.elastic.co/t/logstash-input-jdbc-install-issues/27787>\
**Category:** Logstash\
**Created:** [August 20, 2015, 6:27pm UTC](https://discuss.elastic.co/t/logstash-input-jdbc-install-issues/27787 "2015-08-20T18:27:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonlieb](https://avatars.discourse-cdn.com/v4/letter/j/9de053/32.png) [@jonlieb](https://discuss.elastic.co/u/jonlieb)\
**Post date:** [August 20, 2015, 6:27pm UTC](https://discuss.elastic.co/t/logstash-input-jdbc-install-issues/27787/1 "2015-08-20T18:27:12Z")

</div>

I am trying to configure logstash with jdbc input for oracle db in my lab environment; I am not permitted to access internet directly. I downloaded logstash-input-jdbc-master.zip and scp to my rhel logstash host. I unzipped and a new directory logstash-input-jdbc-master was created in my logstash directory. bin/plugin install logstash-input-jdbc fails and my input config fails as the logstash error is "Couldn't find any input plugin named jdbc. I can't seem to find the oracle-connector-java-5.1.33-bin.jar file in any of the logstash directories. I am new to RHEL and working on ELK for a few weeks. Any help is greatly appreciated. Thanks.

---

<div class="post-metadata">

**Author:** ![talevy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/talevy/32/44896_2.png) [@talevy](https://discuss.elastic.co/u/talevy)\
**Post date:** [August 20, 2015, 8:50pm UTC](https://discuss.elastic.co/t/logstash-input-jdbc-install-issues/27787/2 "2015-08-20T20:50:54Z")

</div>

Hi @jonlieb,

To install plugins locally, you must first build the gem using jruby.

```
gem build logstash-input-jdbc.gemspec

```

Then you can go ahead and install that gem artifact using `bin/plugin`

```
bin/plugin install logstash-input-jdbc-1.0.0.gem

```

Regarding the `oracle--connector-java-5.1.33-bin.jar`, no jdbc driver libraries are packaged within this plugin, you must download and provide the path to the library on your own.

let me know if that helps!

---

<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:31am UTC](https://discuss.elastic.co/t/logstash-input-jdbc-install-issues/27787/3 "2017-07-06T05:31:25Z")

</div>


