Closed cawoodm closed 6 years ago
This really isn't an issue with the plugin itself, so I'm only able to give you really basic information here. The command logstash-plugin is provided by logstash. Have you looked at the documentation at https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html which has several lines on HTTP proxies?
If you absolutely need to download it manually I believe the following still works;
logstash-plugin install path/to/gem/file.gem
which should install it for you[1] Do not just click the download on https://rubygems.org/gems/logstash-output-jdbc, because it will give you a much older version that isn't supported. This is partially due to a naming convention that rubygems uses.
Yeah sorry, found those links later. I'll add for other's reference this one: https://www.elastic.co/guide/en/logstash/current/offline-plugins.html
One way is to install the plugin online (on a machine with no proxy woes) and then export it with:
logstash/bin/logstash-plugin prepare-offline-pack --output logstash-output-jdbc.zip logstash-output-jdbc
This can then be installed with:
bin/logstash-plugin install file:///c:/path/to/logstash-output-jdbc.zip
It really isn't helpful that a search of "logstash-output-jdbc" on rubygems.org gives an old version which won't work with the latest Logstash. Boooo!
It really isn't helpful that a search of "logstash-output-jdbc" on rubygems.org gives an old version which won't work with the latest Logstash. Boooo!
Part of the reason for this is because newer versions have been tagged for the java platform only. Older versions weren't and caused other problems in the past. Unfortunately rubygems.org doesnt seem to care that they're newer. I believe I'd need to yank the older versions to get it to update the "index page" on rubygems.org properly. Sadly there are still a trickle of downloads for those versions, and I'd prefer not to break things for those users who. Since this only affects people having to download manually, which I've had literally 2 or 3 people reach out for help, I've chosen to keep them for now.
I'm sorry I can't please everyone :(
Installation fails (Windows Sever 2012) with
I suspect proxy issues so...
1) Can you provide a way to manually download and install 2) How does the installer deal with proxies?