# How to install logstash-output-influxdb offline in logstash

**URL:** <https://discuss.elastic.co/t/how-to-install-logstash-output-influxdb-offline-in-logstash/226193>\
**Category:** Logstash\
**Created:** [April 2, 2020, 10:01am UTC](https://discuss.elastic.co/t/how-to-install-logstash-output-influxdb-offline-in-logstash/226193 "2020-04-02T10:01:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prashant\_Jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prashant_jain/32/65556_2.png) [@Prashant\_Jain](https://discuss.elastic.co/u/Prashant_Jain)\
**Post date:** [April 2, 2020, 10:01am UTC](https://discuss.elastic.co/t/how-to-install-logstash-output-influxdb-offline-in-logstash/226193/1 "2020-04-02T10:01:25Z")

</div>

Hi, I have a setup of logstash on a server which doesn't have internet connection. I need the logstash-output-influxdb plugin. How can i install it there?

---

<div class="post-metadata">

**Author:** ![yigene](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yigene/32/65553_2.png) [@yigene](https://discuss.elastic.co/u/yigene)\
**Post date:** [April 2, 2020, 11:51am UTC](https://discuss.elastic.co/t/how-to-install-logstash-output-influxdb-offline-in-logstash/226193/2 "2020-04-02T11:51:51Z")

</div>

so basically you need to follow the same folder structure if you want to install offline,  
mkdir influxdb/dependencies

go to the site to download the gem file and it's dependencies  
[https://rubygems.org/gems/logstash-output-influxdb](https://rubygems.org/gems/logstash-output-influxdb)

after you download files and it's dependencies then copy to the folders you created  
so it will looks like below( dependencies will be in dependencies folder)  
influxdb/logstash-output-influxdb-5.0.2.gem  
influxdb/dependencies/influxdb-0.3.16.gem  
influxdb/dependencies/stud-0.0.23.gem

next step: zip the folder  
zip -r influxdb.zip influxdb

then install  
bin/logstash-plugin install file:////tmp/influxdb.zip

Note : /tmp is the folder where stores the influxdb.zip file

then done!

---

<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 30, 2020, 11:51am UTC](https://discuss.elastic.co/t/how-to-install-logstash-output-influxdb-offline-in-logstash/226193/3 "2020-04-30T11:51:54Z")

</div>

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