Can not install Lumberjack plugin offline on Ubuntu

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?

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?

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?

Releases · logstash-plugins/logstash-input-lumberjack · GitHub

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 Offline Plugin Management | Logstash Reference [8.11] | Elastic.

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.

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.

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

Yes, it's obviously different.

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