Get Plugin Version Installed in Logstash

Is there any way to find the specific logstash plugin version ?

I'm able to list the plugin using bin/logstash-plugin list 'logstash-input-kafka', and in help of bin/logstash-plugin, I wasn't able to find any flags to find the version of plugin installed in logstash.

2 Answers

To find the version of a plugin, you can list the vendor/bundle/jruby/1.9/gems/ folder and you'll see the plugin versions you're running. For instance, on Logstash 2.3.2, you'd see this for the logstash-input-kafka plugin:

ls -la vendor/bundle/jruby/1.9/gems | grep "logstash-input-kafka"
> logstash-input-kafka-2.0.8

You can also find the version number in the gemspec file inside the plugin folder.

To find the logstash version:

With Logstash 2.x, you can run this:

bin/logstash version

With Logstash 5.x (still in alpha stage), you can run this:

bin/logstash -V

UPDATE

In the meantime, I found the --verbose flag documented here. You can also append a specific plugin name. It goes like this:

bin/logstash-plugin list --verbose logstash-input-kafka

Will yield

logstash-input-kafka (2.0.8)
5

@Val answer still works, you can do it via existing flags in bin/logstash-plugin:

bin/logstash-plugin list --verbose logstash-input-kafka or

bin/logstash-plugin list --verbose kafka

Thanks to:

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest