Skip to content

Commit 255120f

Browse files
authored
administration: configuration: change inputs, outputs and filters format (#749)
Signed-off-by: lecaros <[email protected]>
1 parent 4487bee commit 255120f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

administration/configuring-fluent-bit/yaml/configuration-file.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The following is an example of an _input_ section for the _cpu_ plugin.
9696
```yaml
9797
pipeline:
9898
inputs:
99-
cpu:
99+
- cpu:
100100
tag: my_cpu
101101
```
102102

@@ -119,7 +119,7 @@ The following is an example of a _filter_ section for the grep plugin:
119119
```yaml
120120
pipeline:
121121
filters:
122-
grep:
122+
- grep:
123123
match: *
124124
regex: log aa
125125
```
@@ -141,7 +141,7 @@ The following is an example of an _output_ section:
141141
```yaml
142142
pipeline:
143143
outputs:
144-
stdout:
144+
- stdout:
145145
match: my*cpu
146146
```
147147

@@ -157,9 +157,9 @@ service:
157157
158158
pipeline:
159159
inputs:
160-
cpu:
160+
- cpu:
161161
tag: my_cpu
162162
outputs:
163-
stdout:
163+
- stdout:
164164
match: my*cpu
165165
```

0 commit comments

Comments
 (0)