# Is it possible to install logstash plugin without gem (with out internet)

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-install-logstash-plugin-without-gem-with-out-internet/77514>\
**Category:** Logstash\
**Created:** [March 6, 2017, 2:24pm UTC](https://discuss.elastic.co/t/is-it-possible-to-install-logstash-plugin-without-gem-with-out-internet/77514 "2017-03-06T14:24:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomer](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@tomer](https://discuss.elastic.co/u/tomer)\
**Post date:** [March 6, 2017, 2:24pm UTC](https://discuss.elastic.co/t/is-it-possible-to-install-logstash-plugin-without-gem-with-out-internet/77514/1 "2017-03-06T14:24:53Z")

</div>

Is it possible to install logstash plugin without RubyGem on a VM without internet?

---

<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:** [March 9, 2017, 12:26pm UTC](https://discuss.elastic.co/t/is-it-possible-to-install-logstash-plugin-without-gem-with-out-internet/77514/2 "2017-03-09T12:26:01Z")

</div>

[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:** ![tomer](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@tomer](https://discuss.elastic.co/u/tomer)\
**Post date:** [March 9, 2017, 5:55pm UTC](https://discuss.elastic.co/t/is-it-possible-to-install-logstash-plugin-without-gem-with-out-internet/77514/3 "2017-03-09T17:55:56Z")

</div>

HI Magnus,

On this procedure I read: "`This procedure requires a staging machine running Logstash that has access to a public or private Rubygems server`". I wanted to know if there is a different procedure that will not need RubyGem.

Any way thanks!

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [March 9, 2017, 6:28pm UTC](https://discuss.elastic.co/t/is-it-possible-to-install-logstash-plugin-without-gem-with-out-internet/77514/4 "2017-03-09T18:28:49Z")

</div>

Logstash plugins _are_ RubyGems. This workaround is for airgapped data centers. You use a machine that _does_ have full network access, and _pack_ the newly downloaded plugin. You copy that to the airgapped server and _unpack_ it. This is the official workaround. It still requires RubyGems at some level, and likely always will, so long as Logstash plugins are RubyGems.

---

<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:** [April 6, 2017, 6:28pm UTC](https://discuss.elastic.co/t/is-it-possible-to-install-logstash-plugin-without-gem-with-out-internet/77514/5 "2017-04-06T18:28:49Z")

</div>

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