Logstash-input-jdbc plugin will not install


(william crawley) #1

0

down vote

favorite

I have elasticsearch 5.5.1 installed and running. I'm now trying to install logstash and required plugins to use against SQL Server. I'm trying to install the logstash-input-jdbc plugin but when I run the logstash plugin installer from powershell as admin (this is on windows server 2012 r2) I receive the following error:

unable to download data from https://rubygems.org - Errno::ECONNREFUSED: connection refused - connection refused (https://api.rubygems.org/latest_specs.4.8.gz)

So I went to github and downloaded the plugin leaving it in it's zip form in my C:\downloads folder.

I then ran

.\logstash-plugin install file:///C:/downloads/logstash-input-jdbc-master

and this time I get an error stating that it cant find the file. It's definitely in the specified place

if I add the file extension .zip to the end of the command I then get:

ERROR:Invalid pack for : file:///C:/downloads/logstash-input-jdbc-master.zip, reason: The pack must contain at least one plugin, message: The pack must contain at least one plugin


(Magnus Bäck) #2

If you don't have Internet access from your Logstash box see https://www.elastic.co/guide/en/logstash/current/offline-plugins.html.


(system) #3

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