Skip to content

Commit a4296c1

Browse files
authored
in_kmsg: add examples for yaml configuration (#1326)
Signed-off-by: Takahiro Yamashita <[email protected]>
1 parent 492fc0a commit a4296c1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pipeline/inputs/kernel-logs.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ As described above, the plugin processed all messages that the Linux Kernel repo
3535
3636
In your main configuration file append the following _Input_ & _Output_ sections:
3737
38+
{% tabs %}
39+
{% tab title="fluent-bit.conf" %}
3840
```python
3941
[INPUT]
4042
Name kmsg
@@ -44,4 +46,18 @@ In your main configuration file append the following _Input_ & _Output_ sections
4446
Name stdout
4547
Match *
4648
```
49+
{% endtab %}
50+
51+
{% tab title="fluent-bit.yaml" %}
52+
```yaml
53+
pipeline:
54+
inputs:
55+
- name: kmsg
56+
tag: kernel
57+
outputs:
58+
- name: stdout
59+
match: '*'
60+
```
61+
{% endtab %}
62+
{% endtabs %}
4763

0 commit comments

Comments
 (0)