Cannot find protobuf codec


(Michael Harris) #1

I am trying to install the protobuf codec for logstash, but the logstash plugin utility can't find it. I need an offline pack as the Linux machine logstash is running on has no access outside our intranet.

I am running this on WIndows 7. My command:
bin/logstash-plugin.bat prepare-offline-pack logstash-codec-protobuf

And the result:
ERROR: Cannot create the offline archive, message: Cannot find plugins matching: 'logstash-codec-protobuf'

I am referencing https://www.elastic.co/guide/en/logstash/current/plugins-codecs-protobuf.html to get the plugin name.

Has this plugin been removed? Am I missing something?

Thanks for any help.


(Michael Harris) #2

For anyone who runs into a similar issue I solved the problem. It turns out I didn't follow the instructions at https://www.elastic.co/guide/en/logstash/current/offline-plugins.html

Where it says:

  1. Make sure all the plugins that you want to package are installed on the staging server and that the staging server can access the Internet.

It turns out you have to install the plugin first on the staging server that will be packaging the plugin. Makes sense, but it seems like it would make more sense for the utility to download the plugin if it doesn't exist, since you are wanting to install a plugin that you don't have. Or better yet, why not just have a repository of packaged plugins you can download so you don't have to install Logstash on a machine just to download a plugin you need?


(system) #3

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