# How to install logstash-input-jdbc in windows

**URL:** <https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149>\
**Category:** Logstash\
**Created:** [July 23, 2015, 11:10am UTC](https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149 "2015-07-23T11:10:55Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Navneet\_Mathpal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/navneet_mathpal/32/3677_2.png) [@Navneet\_Mathpal](https://discuss.elastic.co/u/Navneet_Mathpal)\
**Post date:** [July 23, 2015, 11:10am UTC](https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149/1 "2015-07-23T11:10:55Z")

</div>

hi,

I tried to use logstash-input-jdbc using followed command :plugin install logstash-input-jdbc  
But it is showing some error,

i am using logstash logstash-1.5.2 ,  
how to install jdbc plugin in windows machine so I can get started with it ...

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 23, 2015, 12:11pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149/2 "2015-07-23T12:11:55Z")

</div>

_What_ kind of error, specifically? That's kind of important.

---

<div class="post-metadata">

**Author:** ![Navneet\_Mathpal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/navneet_mathpal/32/3677_2.png) [@Navneet\_Mathpal](https://discuss.elastic.co/u/Navneet_Mathpal)\
**Post date:** [July 23, 2015, 12:27pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149/3 "2015-07-23T12:27:41Z")

</div>

@magnusbaeck I guess my firewall/proxy setting does not allow to me download the plugin

plugin install logstash-input-jdbc  
Unable to download data from [https://rubygems.org/](https://rubygems.org/) - Errno::ECONNREFUSED: Connec  
tion refused - Connection refused ([https://api.rubygems.org/latest\_specs.4.8.gz](https://api.rubygems.org/latest_specs.4.8.gz))

so any other alternative , so we can install it on windows ?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 23, 2015, 12:33pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149/4 "2015-07-23T12:33:06Z")

</div>

Have you configured use of your proxy? See [https://github.com/elastic/logstash/issues/3314](https://github.com/elastic/logstash/issues/3314) and [https://github.com/elastic/logstash/issues/2557](https://github.com/elastic/logstash/issues/2557).

---

<div class="post-metadata">

**Author:** ![Navneet\_Mathpal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/navneet_mathpal/32/3677_2.png) [@Navneet\_Mathpal](https://discuss.elastic.co/u/Navneet_Mathpal)\
**Post date:** [July 23, 2015, 12:55pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149/5 "2015-07-23T12:55:00Z")

</div>

I am working on windows environment and all the solution are given for linux ..  
Is there any way to download the plugin and install it manually ,( just like how we do for es plugin like head)

---

<div class="post-metadata">

**Author:** ![Denis](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@Denis](https://discuss.elastic.co/u/Denis)\
**Post date:** [September 15, 2015, 5:18pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149/6 "2015-09-15T17:18:55Z")

</div>

Hi I have same problem.

"D:\logstash\logstash-1.5.4\vendor\jruby\bin\jruby"  
io/console not supported; tty will not be manipulated  
Validating logstash-input-jdbc  
Unable to download data from [https://rubygems.org/](https://rubygems.org/) - EOFError: End of file reach  
ed ([https://rubygems.org/latest\_specs.4.8.gz](https://rubygems.org/latest_specs.4.8.gz))  
ERROR: Installation aborted, verification failed for logstash-input-jdbc

D:\logstash\logstash-1.5.4\bin\>plugin install logstash-input-jdbc-1.0.0.gem  
io/console not supported; tty will not be manipulated  
Validating logstash-input-jdbc-1.0.0.gem  
Installing logstash-input-jdbc  
Error Bundler::HTTPError, retrying 1/10  
Could not fetch specs from [https://rubygems.org/](https://rubygems.org/)  
Error Bundler::HTTPError, retrying 2/10  
Could not fetch specs from [https://rubygems.org/](https://rubygems.org/)

I don't have internet access.

How can I install this plugin manually?

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:** [September 15, 2015, 6:06pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149/7 "2015-09-15T18:06:42Z")

</div>

Currently, the only way to download this offline is to download it when online into a  
local logstash instance, and then copy that logstash package into your offline environment. Since there are other dependencies, just fetching the ".gem" is not enough.

---

<div class="post-metadata">

**Author:** ![Navneet\_Mathpal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/navneet_mathpal/32/3677_2.png) [@Navneet\_Mathpal](https://discuss.elastic.co/u/Navneet_Mathpal)\
**Post date:** [September 15, 2015, 6:23pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149/8 "2015-09-15T18:23:37Z")

</div>

Thanks Talevy.  
could you please explain how to install this.  
As my proxy is not allowing me to dowload it from bin/plugin install xyz..  
So I have downloaded it from github, please let me know how to proceed further ..

---

<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:** [September 16, 2015, 12:14am UTC](https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149/9 "2015-09-16T00:14:23Z")

</div>

you can download the gem (found here: [https://rubygems.org/downloads/logstash-input-jdbc-1.0.0.gem](https://rubygems.org/downloads/logstash-input-jdbc-1.0.0.gem)) elsewhere and then bring it over to your system. Although, this will still attempt to download dependencies.

---

<div class="post-metadata">

**Author:** ![Denis](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@Denis](https://discuss.elastic.co/u/Denis)\
**Post date:** [September 16, 2015, 9:04am UTC](https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149/10 "2015-09-16T09:04:24Z")

</div>

Thanks for the quick reply

I have set proxy host with parameters -J-Dhttp.proxyHost and tried to install manually sequel 4.26.0

D:\logstash\logstash-1.5.4\vendor\jruby\bin\>gem install sequel-4.26.0.gem  
io/console not supported; tty will not be manipulated  
Successfully installed sequel-4.26.0  
WARNING: Unable to pull data from '[https://rubygems.org/](https://rubygems.org/)': SocketError: initial  
ize: name or service not known ([https://rubygems.org/specs.4.8.gz](https://rubygems.org/specs.4.8.gz))  
1 gem installed

D:\logstash\logstash-1.5.4\bin\>plugin install logstash-input-jdbc-1.0.0.gem

io/console not supported; tty will not be manipulated  
Validating logstash-input-jdbc-1.0.0.gem  
Installing logstash-input-jdbc  
Error Bundler::InstallError, retrying 1/10  
An error occurred while installing sequel (4.26.0), and Bundler cannot continue.

Make sure that `gem install sequel -v '4.26.0'` succeeds before bundling.  
Error Bundler::InstallError, retrying 2/10  
An error occurred while installing sequel (4.26.0), and Bundler cannot continue.

Make sure that `gem install sequel -v '4.26.0'` succeeds before bundling.  
Error Errno::EBADF, retrying 3/10  
Bad file descriptor - Bad file descriptor

---

<div class="post-metadata">

**Author:** ![Denis](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@Denis](https://discuss.elastic.co/u/Denis)\
**Post date:** [September 16, 2015, 9:05am UTC](https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149/11 "2015-09-16T09:05:25Z")

</div>

Is there a place where I can download logstash with input\_jdbc already installed?

---

<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:** [September 26, 2015, 7:55pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149/12 "2015-09-26T19:55:27Z")

</div>

not at the moment. but you can download logstash, install the plugin, and then re-package the logstash directory and push it anywhere you need.

---

<div class="post-metadata">

**Author:** ![mrehanb](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@mrehanb](https://discuss.elastic.co/u/mrehanb)\
**Post date:** [March 11, 2016, 2:42pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149/13 "2016-03-11T14:42:40Z")

</div>

Hello Denis,

Have you been successful installing logstash-input-plugin in windows?  
Please guide.

Thank you!  
Rehan

---

<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:07am UTC](https://discuss.elastic.co/t/how-to-install-logstash-input-jdbc-in-windows/26149/14 "2017-07-06T05:07:22Z")

</div>


