mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add logstash_plugin example for lower heap size
In a scenario where you've set your logstash heap size high, you may need to set your heap lower in order to execute logstash-plugin while logstash is still running. Here's an example of someone running into insufficient memory while executing logstash-plugin: https://discuss.elastic.co/t/logstash-plugin-and-jvm-options/99646 This scenario is probably fairly common, so it may be worth documenting as an example. +label: docsite_pr
This commit is contained in:
parent
a9b7356f2d
commit
6b00d4df5d
1 changed files with 7 additions and 0 deletions
|
@ -62,6 +62,13 @@ EXAMPLES = '''
|
||||||
logstash_plugin:
|
logstash_plugin:
|
||||||
state: absent
|
state: absent
|
||||||
name: logstash-filter-multiline
|
name: logstash-filter-multiline
|
||||||
|
|
||||||
|
- name: install Logstash plugin with alternate heap size
|
||||||
|
logstash_plugin:
|
||||||
|
state: present
|
||||||
|
name: logstash-input-beats
|
||||||
|
environment:
|
||||||
|
LS_JAVA_OPTS: "-Xms256m -Xmx256m"
|
||||||
'''
|
'''
|
||||||
|
|
||||||
from ansible.module_utils.basic import AnsibleModule
|
from ansible.module_utils.basic import AnsibleModule
|
||||||
|
|
Loading…
Reference in a new issue