# Logstash, local plugin installation fails if network connected without internet

**URL:** <https://discuss.elastic.co/t/logstash-local-plugin-installation-fails-if-network-connected-without-internet/93590>\
**Category:** Logstash\
**Created:** [July 18, 2017, 1:07pm UTC](https://discuss.elastic.co/t/logstash-local-plugin-installation-fails-if-network-connected-without-internet/93590 "2017-07-18T13:07:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![IHateBugs](https://avatars.discourse-cdn.com/v4/letter/i/cdc98d/32.png) [@IHateBugs](https://discuss.elastic.co/u/IHateBugs)\
**Post date:** [July 18, 2017, 1:07pm UTC](https://discuss.elastic.co/t/logstash-local-plugin-installation-fails-if-network-connected-without-internet/93590/1 "2017-07-18T13:07:30Z")

</div>

installing a local plugin in logstash only works with internet connection or without any network connection. When trying to do it in a local network without internet i get the following error message  
 ![](https://us1.discourse-cdn.com/elastic/original/3X/5/c/5c151adc774ac5a781f39b0646e1f750dfeece9b.JPG)  
to install the plugin i use the following command in a batch file:  
"call "%EXEC\_DIR%logstash-5.5.0\bin\logstash-plugin.bat" install --local "%EXEC\_DIR%logstash-5.5.0\plugin\logstash-filter-aggregate-2.5.2.gem""  
tested with logstash version 5.5.0

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [July 21, 2017, 3:41pm UTC](https://discuss.elastic.co/t/logstash-local-plugin-installation-fails-if-network-connected-without-internet/93590/2 "2017-07-21T15:41:56Z")

</div>

Hi! We're in the process of removing the `--local` option because its buggy. That's why we've [deprecated](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html) it. Try following [these instructions](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html) for creating an offline plugin pack instead.

---

<div class="post-metadata">

**Author:** ![IHateBugs](https://avatars.discourse-cdn.com/v4/letter/i/cdc98d/32.png) [@IHateBugs](https://discuss.elastic.co/u/IHateBugs)\
**Post date:** [July 25, 2017, 7:39am UTC](https://discuss.elastic.co/t/logstash-local-plugin-installation-fails-if-network-connected-without-internet/93590/3 "2017-07-25T07:39:09Z")

</div>

won't that just create a zipped version of the gem's? besides it probably not working with spaces in my file path ☹ (f.e. my other post)

---

<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:** [August 22, 2017, 7:39am UTC](https://discuss.elastic.co/t/logstash-local-plugin-installation-fails-if-network-connected-without-internet/93590/4 "2017-08-22T07:39:12Z")

</div>

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