# Logstash doesn't install plugin from local gem

**URL:** <https://discuss.elastic.co/t/logstash-doesnt-install-plugin-from-local-gem/123991>\
**Category:** Logstash\
**Created:** [March 14, 2018, 8:05pm UTC](https://discuss.elastic.co/t/logstash-doesnt-install-plugin-from-local-gem/123991 "2018-03-14T20:05:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rons1404](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rons1404/32/28793_2.png) [@rons1404](https://discuss.elastic.co/u/rons1404)\
**Post date:** [March 14, 2018, 8:05pm UTC](https://discuss.elastic.co/t/logstash-doesnt-install-plugin-from-local-gem/123991/1 "2018-03-14T20:05:02Z")

</div>

Hello,  
I need to use [logstash-output-jdbc](https://github.com/theangryangel/logstash-output-jdbc) with some modification, so I've done the following steps:  
I've cloned logstash-output-jdbc plugin.  
I've done changes to the code in `jdbc.rb` and built a gem using:  
`gem build logstash-output-jdbc.gemspec`  
Now I tried to install it to logstash using:  
`./logstash-plugin install logstash-output-jdbc-5.3.0-java.gem`  
(I was in the bin directory of logstash and put the gem there)  
Got the following output:  
`Validating logstash-output-jdbc-5.3.0-java.gem`  
`Installing logstash-output-jdbc`  
`Installation successful`  
Now I ran:  
`./logstash-plugin list | grep jdbc`  
And the output is:  
`logstash-filter-jdbc_static`  
`logstash-filter-jdbc_streaming`  
`logstash-input-jdbc`  
No sign for logstash-output-jdbc. What's might be going wrong? Thanks in advance!

---

<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:** [April 11, 2018, 8:05pm UTC](https://discuss.elastic.co/t/logstash-doesnt-install-plugin-from-local-gem/123991/2 "2018-04-11T20:05:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
