Can not install Lumberjack plugin offline on Ubuntu


(Amruth) #1

Hi,

I am trying to install Lumberjack but it errors out,

root@elknode2:/opt/logstash# ./bin/logstash-plugin install file:///opt/logstash-input-lumberjack-3.1.3.zip
Validating file:///opt/logstash-input-lumberjack-3.1.3.zip
Plugin file:///opt/logstash-input-lumberjack-3.1.3.zip does not exist
ERROR: Installation aborted, verification failed for file:///opt/logstash-input-lumberjack-3.1.3.zip

Can you please help me solve the issue?


(Magnus Bäck) #2

How did you obtain logstash-input-lumberjack-3.1.3.zip? What happens when you run ls /opt/logstash-input-lumberjack-3.1.3.zip?


(Amruth) #3

https://github.com/logstash-plugins/logstash-input-lumberjack/releases

root@elknode2:/# ls /opt/logstash-input-lumberjack-3.1.3.zip
/opt/logstash-input-lumberjack-3.1.3.zip

Is there a separate installation process for plugins which I am not following?


(Magnus Bäck) #4

https://github.com/logstash-plugins/logstash-input-lumberjack/releases

That zip file can't be installed as a plugin.

Is there a separate installation process for plugins which I am not following?

If your host is connected to the internet you can just run logstash-plugin install logstash-input-lumberjack. Otherwise see https://www.elastic.co/guide/en/logstash/current/offline-plugins.html.


(Amruth) #5

I tried it already as mentioned in the document. It says to install .zip file,

root@elknode2:/opt/logstash# ./bin/logstash-plugin install file:///opt/logstash-input-lumberjack-3.1.3.zip
Validating file:///opt/logstash-input-lumberjack-3.1.3.zip
Plugin file:///opt/logstash-input-lumberjack-3.1.3.zip does not exist
ERROR: Installation aborted, verification failed for file:///opt/logstash-input-lumberjack-3.1.3.zip

I am getting above error.


(Magnus Bäck) #6

Yes, but only if that zip file has been created with logstash-plugin prepare-offline-pack. As I said zip files downloaded from GitHub can't be used.


(Amruth) #7

Ok thanks. I was able to install Kibana plugin downloaded as zip file. Logstash works in a different way than Kibana?


(Magnus Bäck) #8

Yes, it's obviously different.


(system) #9

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