|
19 | 19 | # Default beat input #
|
20 | 20 | # Autoconfigured Redis outputs: input
|
21 | 21 |
|
22 |
| -- pipeline.id: ansible-input |
23 |
| - path.config: "/etc/logstash/conf.d/ansible-input/*.conf" |
24 |
| - queue.type: {{ ansible_input_queue_type }} |
25 |
| - queue.max_bytes: {{ ansible_input_queue_max_bytes }} |
| 22 | +- pipeline |
| 23 | + id: ansible-input |
| 24 | + unsafe_shutdown: {{ ansible_input_unsafe_shutdown | default({{ logstash_pipeline_unsafe_shutdown }}) }} |
| 25 | + path |
| 26 | + config: "/etc/logstash/conf.d/ansible-input/*.conf" |
| 27 | + queue |
| 28 | + type: {{ logstash_input_queue_type }} |
| 29 | + max_bytes: {{ logstash_input_queue_max_bytes }} |
26 | 30 |
|
27 | 31 | {% endif %}
|
28 | 32 | {% if logstash_elasticsearch_output | bool %}
|
29 | 33 |
|
30 | 34 | # Default elasticsearch output #
|
31 | 35 | # Autoconfigured Redis input: forwarder
|
32 | 36 |
|
33 |
| -- pipeline.id: ansible-forwarder |
34 |
| - path.config: "/etc/logstash/conf.d/ansible-forwarder/*.conf" |
35 |
| - queue.type: {{ ansible_forwarder_queue_type }} |
36 |
| - queue.max_bytes: {{ ansible_forwarder_queue_max_bytes }} |
| 37 | +- pipeline |
| 38 | + id: ansible-forwarder |
| 39 | + unsafe_shutdown: {{ ansible_forwarder_unsafe_shutdown | default({{ logstash_pipeline_unsafe_shutdown }}) }} |
| 40 | + path |
| 41 | + config: "/etc/logstash/conf.d/ansible-forwarder/*.conf" |
| 42 | + queue |
| 43 | + type: {{ logstash_forwarder_queue_type }} |
| 44 | + max_bytes: {{ logstash_forwarder_queue_max_bytes }} |
37 | 45 |
|
38 | 46 | {% endif %}
|
39 | 47 | {% if logstash_pipelines is defined %}
|
|
64 | 72 |
|
65 | 73 | {% endif %}
|
66 | 74 |
|
67 |
| -- pipeline.id: {{ item.name }} |
68 |
| - path.config: "/etc/logstash/conf.d/{{ item.name }}/*.conf" |
69 |
| - queue.type: {{ item.queue_type | default('memory') }} |
70 |
| - queue.max_bytes: {{ item.queue_max_bytes | default('1gb') }} |
| 75 | +- pipeline |
| 76 | + id: {{ item.name }} |
| 77 | + unsafe_shutdown: {{ item.unsafe_shutdown | default({{ logstash_pipeline_unsafe_shutdown }}) }} |
| 78 | + path |
| 79 | + config: "/etc/logstash/conf.d/{{ item.name }}/*.conf" |
| 80 | + queue |
| 81 | + type: {{ item.queue_type | default('memory') }} |
| 82 | + max_bytes: {{ item.queue_max_bytes | default('1gb') }} |
71 | 83 |
|
72 | 84 | {% endfor %}
|
73 | 85 | {% endif %}
|
0 commit comments