- Docs »
- logstash_plugin - Manage Logstash plugins
-
You are reading an unmaintained version of the Ansible documentation. Unmaintained Ansible versions can contain unfixed security vulnerabilities (CVE). Please upgrade to a maintained version. See the latest Ansible documentation.
logstash_plugin - Manage Logstash plugins
- Manages Logstash plugins.
Parameter |
Choices/Defaults |
Comments |
name
required |
|
Install plugin with that name.
|
plugin_bin
|
Default:
"/usr/share/logstash/bin/logstash-plugin"
|
Specify logstash-plugin to use for plugin management.
|
proxy_host
|
|
Proxy host to use during plugin installation.
|
proxy_port
|
|
Proxy port to use during plugin installation.
|
state
|
Choices:
present ←
- absent
|
Apply plugin state.
|
version
|
|
Specify plugin Version of the plugin to install. If plugin exists with previous version, it will NOT be updated.
|
- name: Install Logstash beats input plugin
logstash_plugin:
state: present
name: logstash-input-beats
- name: Install specific version of a plugin
logstash_plugin:
state: present
name: logstash-input-syslog
version: '3.2.0'
- name: Uninstall Logstash plugin
logstash_plugin:
state: absent
name: logstash-filter-multiline
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Community, see here.
Hint
If you notice any issues in this documentation you can edit this document to improve it.