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.
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With