How to install logstash-output-influxdb offline in logstash

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?

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

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!

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