From 71de76e9926c7195f84753f799000640191dfc48 Mon Sep 17 00:00:00 2001 From: lecaros Date: Wed, 2 Aug 2023 12:15:55 -0400 Subject: [PATCH] in_dummy: add sample for yaml configuration Signed-off-by: lecaros --- pipeline/inputs/dummy.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/pipeline/inputs/dummy.md b/pipeline/inputs/dummy.md index 5e09291dd..55d6f608a 100644 --- a/pipeline/inputs/dummy.md +++ b/pipeline/inputs/dummy.md @@ -37,13 +37,29 @@ Fluent Bit v2.x.x In your main configuration file append the following _Input_ & _Output_ sections: -```python + +{% tabs %} +{% tab title="fluent-bit.conf" %} +```text [INPUT] Name dummy - Tag dummy.log + Dummy {"message": "custom dummy"} [OUTPUT] Name stdout Match * ``` +{% endtab %} +{% tab title="fluent-bit.yaml" %} +```yaml +pipeline: + inputs: + - name: dummy + dummy: '{"message": "custom dummy"}' + outputs: + - name: stdout + match: '*' +``` +{% endtab %} +{% endtabs %}