# Logstash Plugin 1.5.3 offline installation

**URL:** <https://discuss.elastic.co/t/logstash-plugin-1-5-3-offline-installation/32899>\
**Category:** Logstash\
**Created:** [October 24, 2015, 4:25am UTC](https://discuss.elastic.co/t/logstash-plugin-1-5-3-offline-installation/32899 "2015-10-24T04:25:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![soodlikesjava](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@soodlikesjava](https://discuss.elastic.co/u/soodlikesjava)\
**Post date:** [October 24, 2015, 4:25am UTC](https://discuss.elastic.co/t/logstash-plugin-1-5-3-offline-installation/32899/1 "2015-10-24T04:25:59Z")

</div>

As far i am aware that pre logstash 2.0 , none of the version supports offline installation of logstash plugins . Is it possible if i install the logstash plugin using plugin manager in a machine having internet connection and then copy all the gems of the installed plugin to the machine where internet is not available . Will it install or build my gems when logstash boots up?

---

<div class="post-metadata">

**Author:** ![soodlikesjava](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@soodlikesjava](https://discuss.elastic.co/u/soodlikesjava)\
**Post date:** [October 26, 2015, 10:34pm UTC](https://discuss.elastic.co/t/logstash-plugin-1-5-3-offline-installation/32899/2 "2015-10-26T22:34:33Z")

</div>

Is anyone aware of how to do offline plugins installation in Logstash?

---

<div class="post-metadata">

**Author:** ![alvin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alvin/32/5607_2.png) [@alvin](https://discuss.elastic.co/u/alvin)\
**Post date:** [October 29, 2015, 12:33am UTC](https://discuss.elastic.co/t/logstash-plugin-1-5-3-offline-installation/32899/3 "2015-10-29T00:33:25Z")

</div>

Hey Sushant - yep, the solution that you explained should work.

- Download Logstash on a online host
- Install all the required plugins "$LS\_HOME/bin/plugin install " on this host
- Create an archive out of the entire $LS\_HOME directory
- Copy the archive over to offline host(s) and unarchive it

---

<div class="post-metadata">

**Author:** ![soodlikesjava](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@soodlikesjava](https://discuss.elastic.co/u/soodlikesjava)\
**Post date:** [October 30, 2015, 8:32pm UTC](https://discuss.elastic.co/t/logstash-plugin-1-5-3-offline-installation/32899/4 "2015-10-30T20:32:14Z")

</div>

Thanks for your response . Actually i wanted to know if it is possible to install plugins only by copying only ruby gems of the plugin which got intstalled in logstash installed on online host to the logstash installed in offline machine . Will exported plugin work as is after copying the plugin gems only .  
I tried this but plugin manager is not listing that plugin as an installed plugin in offline logstash.

---

<div class="post-metadata">

**Author:** ![alvin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alvin/32/5607_2.png) [@alvin](https://discuss.elastic.co/u/alvin)\
**Post date:** [October 31, 2015, 12:30am UTC](https://discuss.elastic.co/t/logstash-plugin-1-5-3-offline-installation/32899/5 "2015-10-31T00:30:17Z")

</div>

Are you archiving the entire Logstash directory after installing all the plugins you need? If you move the full archive, it should have the needed plugins in the offline instances.

Our thoughts on moving forward for offline installs is to have a separate package which contains a full set of latest Logstash plugins which can be used to install plugins on offline boxes. Please see here: [https://github.com/elastic/logstash/issues/4086](https://github.com/elastic/logstash/issues/4086)

Hope this helps.

---

<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:24am UTC](https://discuss.elastic.co/t/logstash-plugin-1-5-3-offline-installation/32899/6 "2017-07-06T05:24:45Z")

</div>


