Skip to content

Commit

Permalink
in_mem: add examples for yaml configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Takahiro Yamashita <[email protected]>
  • Loading branch information
nokute78 committed Feb 3, 2024
1 parent a039f6f commit c946dce
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion pipeline/inputs/memory-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ Fluent Bit v1.x.x

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

{% tabs %}
{% tab title="fluent-bit.conf" %}
```python
[INPUT]
Name mem
Expand All @@ -36,4 +38,17 @@ In your main configuration file append the following _Input_ & _Output_ sections
Name stdout
Match *
```

{% endtab %}

{% tab title="fluent-bit.yaml" %}
```yaml
pipeline:
inputs:
- name: mem
tag: memory
outputs:
- name: stdout
match: '*'
```
{% endtab %}
{% endtabs %}

0 comments on commit c946dce

Please sign in to comment.