To install the plugin you can create a folder for logstash plugins, e.g. :
/etc/logstash/plugins/
Be sure you respect logstash requirements about the plugin path "$PATH/logstash/TYPE/NAME.rb", e.g. :
/etc/logstash/plugins/logstash/outputs/sentry.rb
Then start logstash manually with the options :
bin/logstash -p /etc/logstash/plugins/
Or modify the logstash service configuration /etc/init.d/logstash
:
LS_OPTS="-p /etc/logstash/plugins/"