Skip to content

Commit 6059c2a

Browse files
authored
in_thermal: add examples for yaml configuration (fluent#1337)
Signed-off-by: Takahiro Yamashita <nokute78@gmail.com>
1 parent 7aca6c7 commit 6059c2a

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

pipeline/inputs/thermal.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ Copyright (C) Treasure Data
5959

6060
In your main configuration file append the following _Input_ & _Output_ sections:
6161

62+
{% tabs %}
63+
{% tab title="fluent-bit.conf" %}
6264
```python
6365
[INPUT]
6466
Name thermal
@@ -68,4 +70,17 @@ In your main configuration file append the following _Input_ & _Output_ sections
6870
Name stdout
6971
Match *
7072
```
71-
73+
{% endtab %}
74+
75+
{% tab title="fluent-bit.yaml" %}
76+
```yaml
77+
pipeline:
78+
inputs:
79+
- name: thermal
80+
tag: my_thermal
81+
outputs:
82+
- name: stdout
83+
match: '*'
84+
```
85+
{% endtab %}
86+
{% endtabs %}

0 commit comments

Comments
 (0)