How to install logstash plugin in off line

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?

https://www.elastic.co/guide/en/logstash/current/offline-plugins.html

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