Plugins Command-Line Options

As we have already discussed the various type of plugins available in Logstash, let's understand how to list/install/update/remove a plugin using the logstash-plugin script, which is present within the bin folder of Logstash.

The usage of the plugin command-line option is as follows:

bin/logstash-plugin [OPTIONS] SUBCOMMAND [ARG]

The various subcommands are listinstall, remove, update, pack, unpack, and generate.

list is used to list the installed plugins, install is used to install a plugin, remove is used to remove a plugin, update is used to update a plugin, pack is used to package already installed plugins and unpack is used to unpack packaged plugins.

Listing of Plugins

To list all the plugins available in Logstash: ...

Get Mastering Elastic Stack now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.