From c946dce47c61cb962ef7eee9cda0ad981eaea537 Mon Sep 17 00:00:00 2001 From: Takahiro Yamashita Date: Sat, 3 Feb 2024 20:55:47 +0900 Subject: [PATCH] in_mem: add examples for yaml configuration Signed-off-by: Takahiro Yamashita --- pipeline/inputs/memory-metrics.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pipeline/inputs/memory-metrics.md b/pipeline/inputs/memory-metrics.md index 21b09ec15..0f380c614 100644 --- a/pipeline/inputs/memory-metrics.md +++ b/pipeline/inputs/memory-metrics.md @@ -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 @@ -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 %}