# Installing LogStash 2.2.2 failed on Windows Server 2012

**URL:** <https://discuss.elastic.co/t/installing-logstash-2-2-2-failed-on-windows-server-2012/42777>\
**Category:** Logstash\
**Created:** [February 25, 2016, 9:04pm UTC](https://discuss.elastic.co/t/installing-logstash-2-2-2-failed-on-windows-server-2012/42777 "2016-02-25T21:04:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![eso](https://avatars.discourse-cdn.com/v4/letter/e/d6d6ee/32.png) [@eso](https://discuss.elastic.co/u/eso)\
**Post date:** [February 25, 2016, 9:04pm UTC](https://discuss.elastic.co/t/installing-logstash-2-2-2-failed-on-windows-server-2012/42777/1 "2016-02-25T21:04:41Z")

</div>

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](https://rubygems.org) - SocketError: initialize: name or service not know ([https://rubygems.org/latest\_specs.4.8.gz](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

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 25, 2016, 10:37pm UTC](https://discuss.elastic.co/t/installing-logstash-2-2-2-failed-on-windows-server-2012/42777/2 "2016-02-25T22:37:03Z")

</div>

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](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html)

---

<div class="post-metadata">

**Author:** ![eso](https://avatars.discourse-cdn.com/v4/letter/e/d6d6ee/32.png) [@eso](https://discuss.elastic.co/u/eso)\
**Post date:** [February 26, 2016, 2:40pm UTC](https://discuss.elastic.co/t/installing-logstash-2-2-2-failed-on-windows-server-2012/42777/3 "2016-02-26T14:40:28Z")

</div>

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](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  
 ![](https://us1.discourse-cdn.com/elastic/original/2X/f/f464dd1c7c382c015b3fc53eebe1cd1aadffee61.jpg)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 26, 2016, 6:44pm UTC](https://discuss.elastic.co/t/installing-logstash-2-2-2-failed-on-windows-server-2012/42777/4 "2016-02-26T18:44:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![eso](https://avatars.discourse-cdn.com/v4/letter/e/d6d6ee/32.png) [@eso](https://discuss.elastic.co/u/eso)\
**Post date:** [February 26, 2016, 7:05pm UTC](https://discuss.elastic.co/t/installing-logstash-2-2-2-failed-on-windows-server-2012/42777/5 "2016-02-26T19:05:33Z")

</div>

Thanks Mark.

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

Edison  
 ![](https://us1.discourse-cdn.com/elastic/original/2X/f/f464dd1c7c382c015b3fc53eebe1cd1aadffee61.jpg)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 26, 2016, 7:09pm UTC](https://discuss.elastic.co/t/installing-logstash-2-2-2-failed-on-windows-server-2012/42777/6 "2016-02-26T19:09:55Z")

</div>

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

---

<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:09am UTC](https://discuss.elastic.co/t/installing-logstash-2-2-2-failed-on-windows-server-2012/42777/7 "2017-07-06T05:09:32Z")

</div>

Closed on July 6, 2017, 5:09am UTC


