2022-02-10 20:20:29
浏览数 (1)
plugin install
代码语言:javascript
复制[root@h102 ~]# /opt/logstash/bin/plugin install -h
Usage:
bin/plugin install [OPTIONS] [PLUGIN] ...
Parameters:
[PLUGIN] ... plugin name(s) or file
Options:
--version VERSION version of the plugin to install
--[no-]verify verify plugin validity before installation (default: true)
--development install all development dependencies of currently installed plugins (default: false)
--local force local-only plugin installation. see bin/plugin package|unpack (default: false)
-h, --help print help
[root@h102 ~]# /opt/logstash/bin/plugin list kafka
logstash-input-kafka
[root@h102 ~]# /opt/logstash/bin/plugin install logstash-output-kafka
Validating logstash-output-kafka
Installing logstash-output-kafka
Installation successful
[root@h102 ~]# /opt/logstash/bin/plugin list kafka
logstash-input-kafka
logstash-output-kafka
[root@h102 ~]#
plugin update
代码语言:javascript
复制[root@h102 ~]# /opt/logstash/bin/plugin update -h
Usage:
bin/plugin update [OPTIONS] [PLUGIN] ...
Parameters:
[PLUGIN] ... Plugin name(s) to upgrade to latest version
Options:
--[no-]verify verify plugin validity before installation (default: true)
--local force local-only plugin update. see bin/plugin package|unpack (default: false)
-h, --help print help
[root@h102 ~]# /opt/logstash/bin/plugin update logstash-codec-edn_lines
Updating logstash-codec-edn_lines
No plugin updated
[root@h102 ~]#