Installing LogStash 2.2.2 failed on Windows Server 2012

Hello,

When I installed LogStash 2.2.2 (in Program Files folder), I got the following error messages:


bin/plugin install logstash-input-beats

Unable to download data from https://rubygems.org - SocketError: initialize: name or service not know (https://rubygems.org/latest_specs.4.8.gz)

My PROD server is not connected to Internet; so any new installation must be done manually. So, do you know what did I do wrong?

Edison

Without internet you will need to do offline install of plugins, or grab the All Plugins release of LS.
Take a read through https://www.elastic.co/guide/en/logstash/current/offline-plugins.html

Good morning Mark,

I read through the page as provided by you. Unfortunately, here is a Windows shop and I therefore cannot create my own private Rubygems server which is UNIX based.

If I download all the LogStash 2.2.0 plugins (in ZIP format) from the site, https://www.elastic.co/downloads/logstash, and unzip it in C:\Program Files\LogStash, can I just run the follow command to install them:

./bin/plugin –local logstash-input-beats

Thank you in advance,
Edison

If you get the all plugins version, all the plugins are included, so you don't need to install anything.

Thanks Mark.

How do I make LogStash to run as a Windows Service?

Edison

I dunno about that sorry, I am sure there are places on the net that can guide you better than I can.