File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -291,29 +291,29 @@ The `!include` YAML tag can be used under sections to share the same parameters:
291291``` text
292292# config file
293293config:
294- - match pattern>
295- $type: forward
296- # ...
297- buffer:
298- $type: file
299- path: /path/to/buffer/forward
300- <<: !include /path/to/out_buf_params.yaml
294+ - match:
295+ $type: forward
296+ # ...
297+ buffer:
298+ $type: file
299+ path: /path/to/buffer/forward
300+ <<: !include /path/to/out_buf_params.yaml
301301
302- - match pattern>
303- $type: elasticsearch
304- # ...
305- buffer:
306- $type: file
307- path: /path/to/buffer/es
308- <<: !include /path/to/out_buf_params.yaml
302+ - match:
303+ $type: elasticsearch
304+ # ...
305+ buffer:
306+ $type: file
307+ path: /path/to/buffer/es
308+ <<: !include /path/to/out_buf_params.yaml
309309
310310# /path/to/out_buf_params.yaml
311311flush_interval: 5s
312312total_limit_size: 100m
313313chunk_limit_size: 1m
314314```
315315
316- Note that, in the middle of element case of ` !include ` YAML tag usage, users must use ` << ` syntax to inlcude other YAML objects successfully.
316+ Note that, in the middle of element case of ` !include ` YAML tag usage, users must use ` <<: ` syntax to include other YAML objects successfully.
317317
318318### Note on Match Order
319319
You can’t perform that action at this time.
0 commit comments