Unable to install the logstash-filter-truncate

Hello all

when I try to install the filter I get the message:
bin/logstash-plugin install --no-verify file:///tmp/logstash-filter-truncate-master.zip
Installing file: /tmp/logstash-filter-truncate-master.zip
ERROR: Invalid pack for: file:///tmp/logstash-filter-truncate-master.zip, reason: The pack must contains at least one plugin, message: The pack must contains at least one plugin

LS 5.3

Can you attach the logstash-filter-truncate-master.zip file?

hello,
https://1drv.ms/u/s!AnNbikBZyEEwjZotlBq4Kj2MZk7OSA

How did you download it?

Hello,

I downloaded it as "Download ZIP" from this url https://github.com/logstash-plugins/logstash-filter-truncate

Please use the zip file below:

It is a magic!!!
# /usr/share/logstash/bin/logstash-plugin install file:///tmp/logstash-filter-truncate-master2.zip
Installing file: /tmp/logstash-filter-truncate-master2.zip
_Install successful

Thanks a lot!

No problem, you're welcome.

What was the problem?

I believe the github zip required the gem to be build. I just created an offline plug-in zip.

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