community.general.logstash_plugin – Manage Logstash plugins¶
Note
This plugin is part of the community.general collection (version 2.5.1).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.logstash_plugin
.
Parameters¶
Examples¶
- name: Install Logstash beats input plugin
community.general.logstash_plugin:
state: present
name: logstash-input-beats
- name: Install specific version of a plugin
community.general.logstash_plugin:
state: present
name: logstash-input-syslog
version: '3.2.0'
- name: Uninstall Logstash plugin
community.general.logstash_plugin:
state: absent
name: logstash-filter-multiline
- name: Install Logstash plugin with alternate heap size
community.general.logstash_plugin:
state: present
name: logstash-input-beats
environment:
LS_JAVA_OPTS: "-Xms256m -Xmx256m"
Authors¶
Loic Blot (@nerzhul)