Skip to content

Commit 65df6a0

Browse files
authored
in_dummy: add sample for yaml configuration (#1173)
Signed-off-by: lecaros <[email protected]>
1 parent 6e27d2f commit 65df6a0

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

pipeline/inputs/dummy.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,29 @@ Fluent Bit v2.x.x
3737

3838
In your main configuration file append the following _Input_ & _Output_ sections:
3939

40-
```python
40+
41+
{% tabs %}
42+
{% tab title="fluent-bit.conf" %}
43+
```text
4144
[INPUT]
4245
Name dummy
43-
Tag dummy.log
46+
Dummy {"message": "custom dummy"}
4447
4548
[OUTPUT]
4649
Name stdout
4750
Match *
4851
```
52+
{% endtab %}
4953

54+
{% tab title="fluent-bit.yaml" %}
55+
```yaml
56+
pipeline:
57+
inputs:
58+
- name: dummy
59+
dummy: '{"message": "custom dummy"}'
60+
outputs:
61+
- name: stdout
62+
match: '*'
63+
```
64+
{% endtab %}
65+
{% endtabs %}

0 commit comments

Comments
 (0)