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:
291
291
``` text
292
292
# config file
293
293
config:
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
301
301
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
309
309
310
310
# /path/to/out_buf_params.yaml
311
311
flush_interval: 5s
312
312
total_limit_size: 100m
313
313
chunk_limit_size: 1m
314
314
```
315
315
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.
317
317
318
318
### Note on Match Order
319
319
You can’t perform that action at this time.
0 commit comments