# How to install logstash plugin in off line

**URL:** <https://discuss.elastic.co/t/how-to-install-logstash-plugin-in-off-line/68130>\
**Category:** Logstash\
**Created:** [December 6, 2016, 6:44am UTC](https://discuss.elastic.co/t/how-to-install-logstash-plugin-in-off-line/68130 "2016-12-06T06:44:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sitanxin](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@sitanxin](https://discuss.elastic.co/u/sitanxin)\
**Post date:** [December 6, 2016, 6:44am UTC](https://discuss.elastic.co/t/how-to-install-logstash-plugin-in-off-line/68130/1 "2016-12-06T06:44:14Z")

</div>

When I use Internet to install logstash plugin, we met the blew issue:  
$ ./logstash-plugin install logstash-output-kafka  
Validating logstash-output-kafka  
Installing logstash-output-kafka  
Error Bundler::InstallError, retrying 1/10  
An error occurred while installing logstash-core-event-java (5.0.1), and Bundler cannot continue.  
Make sure that `gem install logstash-core-event-java -v '5.0.1'` succeeds before bundling.

$ gem install logstash-core-event-java -v '5.0.1'  
ERROR: Could not find a valid gem 'logstash-core-event-java' (= 5.0.1) in any repository  
ERROR: Possible alternatives: logstash-codec-netflow, logstash-codec-nmap, logstash-event, logstash-codec-avro, logstash-codec-bytes

So is there any way we can install the logstash plugin without internet and no need to use root?

---

<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:** [December 6, 2016, 6:49am UTC](https://discuss.elastic.co/t/how-to-install-logstash-plugin-in-off-line/68130/2 "2016-12-06T06:49:37Z")

</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:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 3, 2017, 6:49am UTC](https://discuss.elastic.co/t/how-to-install-logstash-plugin-in-off-line/68130/3 "2017-01-03T06:49:53Z")

</div>

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