|
19 | 19 | # Default beat input # |
20 | 20 | # Autoconfigured Redis outputs: input |
21 | 21 |
|
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 }} |
| 22 | +- pipeline.id: ansible-input |
| 23 | + path.config: "/etc/logstash/conf.d/ansible-input/*.conf" |
| 24 | + queue.type: {{ logstash_input_queue_type }} |
| 25 | + queue.max_bytes: {{ logstash_input_queue_max_bytes }} |
30 | 26 |
|
31 | 27 | {% endif %} |
32 | 28 | {% if logstash_elasticsearch_output | bool %} |
33 | 29 |
|
34 | 30 | # Default elasticsearch output # |
35 | 31 | # Autoconfigured Redis input: forwarder |
36 | 32 |
|
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 }} |
| 33 | +- pipeline.id: ansible-forwarder |
| 34 | + path.config: "/etc/logstash/conf.d/ansible-forwarder/*.conf" |
| 35 | + queue.type: {{ logstash_forwarder_queue_type }} |
| 36 | + queue.max_bytes: {{ logstash_forwarder_queue_max_bytes }} |
45 | 37 |
|
46 | 38 | {% endif %} |
47 | 39 | {% if logstash_pipelines is defined %} |
|
72 | 64 |
|
73 | 65 | {% endif %} |
74 | 66 |
|
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') }} |
| 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') }} |
83 | 71 |
|
84 | 72 | {% endfor %} |
85 | 73 | {% endif %} |
0 commit comments