Plugin lifecycle management
Logstash plugin management is done through the install script that is shipped with the Logstash installation:
$LOGSTASH_HOME/bin/plugin
Installing a plugin
To install a plugin, we can issue the following command:
$bin/plugin install <plug_in_name>
plug_in_name
is the name of the plugin as mentioned in the gem name in https://rubygems.org/ or in the Logstash plugin repository.
Let's take the following command as an example:
$bin/plugin install logstash-input-rabbitmq
The preceding command will install the rabbitmq
input plugin to the Logstash installation. You can also specify the --version
parameter to install a specific version of the plugin.
Note
RabbitMQ (https://www.rabbitmq.com) is a messaging broker, a common platform to send and receive messages, which holds messages until received.
Also, plugins downloaded from https://rubygems.org/ can be installed using the file path as follows:
$bin/plugin install path/to/logstash-input-rabbitmq-0.1.0.gem
You can...