Install aggregate plugin (Offline) Logstash

Hello,

Generally I need to install a plugin aggregate for logstash in a remote server to use it in my file .config to inject data in elasticsearch.

the problem is that I can't download directly the aggregate plugin using the command ./logstash-plugin install logstash-filter-aggregate because I can't acces to internet.

that's why I choose the offline method in my local computer (windows) and send the plugin to the remote server via FTP.

I used the command ./logstash-plugin prepare-offline-pack logstash-filter-aggregate and it generates a zip for me.

but when I send it to the remote server and I try to install ans then I got the error.

./logstash-plugin install file:logstash-offline-plugins-5.4.0.zip
ERROR: Something went wrong when installing file:logstash-offline-plugins-5.4.0.zip, message: can't convert nil into String

For any version of logstash from the last few years the aggregate filter is installed with the base package and you do not need to install it.