community / community.general / 2.5.9 / module / logstash_plugin Manage Logstash plugins Authors: Loic Blot (@nerzhul)community.general.logstash_plugin (2.5.9) — module
Install with ansible-galaxy collection install community.general:==2.5.9
collections: - name: community.general version: 2.5.9
Manages Logstash plugins.
- 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"
name: description: - Install plugin with that name. required: true type: str state: choices: - present - absent default: present description: - Apply plugin state. type: str version: description: - Specify plugin Version of the plugin to install. If plugin exists with previous version, it will NOT be updated. type: str plugin_bin: default: /usr/share/logstash/bin/logstash-plugin description: - Specify logstash-plugin to use for plugin management. type: path proxy_host: description: - Proxy host to use during plugin installation. type: str proxy_port: description: - Proxy port to use during plugin installation. type: str