Skip to content

Commit cfda33f

Browse files
committed
Updated more examples - squash me
1 parent 0c52acc commit cfda33f

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

documentation/examples/multiline/filter_multiline/fluent-bit.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[SERVICE]
22
flush 1
33
log_level info
4-
parsers_file parsers_multiline.conf
4+
#parsers_file parsers_multiline.conf
5+
parsers_file parsers_multiline.yaml
56

67
[INPUT]
78
name tail

documentation/examples/multiline/regex-001/fluent-bit.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[SERVICE]
22
flush 1
33
log_level info
4-
parsers_file parsers_multiline.conf
4+
#parsers_file parsers_multiline.conf
5+
parsers_file parsers_multiline.yaml
56

67
[INPUT]
78
name tail

examples/wasi_serde_json/README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ target/wasm32-wasip1/release/wasi_serde_json.wasm
3131

3232
## How to confirm WASI integration
3333

34-
Create parsers.conf as follows:
35-
36-
```ini
37-
[PARSER]
38-
Name wasi
39-
Format json
40-
Time_Key time
41-
Time_Format %Y-%m-%dT%H:%M:%S.%L %z
34+
Create parsers.yaml as follows:
35+
36+
```yaml
37+
parsers:
38+
- name: wasi
39+
format: json
40+
time_key: time
41+
time_format: '%Y-%m-%dT%H:%M:%S.%L %z'
4242
```
4343
4444
And Create fluent-bit configuration file as follows:
@@ -47,7 +47,8 @@ And Create fluent-bit configuration file as follows:
4747
[SERVICE]
4848
Flush 1
4949
Daemon Off
50-
Parsers_File parsers.conf
50+
#Parsers_File parsers.conf
51+
Parsers_File parsers.yaml
5152
Log_Level info
5253
HTTP_Server Off
5354
HTTP_Listen 0.0.0.0

0 commit comments

Comments
 (0)