diff --git a/pipeline/inputs/tail.md b/pipeline/inputs/tail.md index 6c985551e..ad38799c7 100644 --- a/pipeline/inputs/tail.md +++ b/pipeline/inputs/tail.md @@ -136,10 +136,10 @@ In your main configuration file, append the following `Input` and `Output` secti {% tabs %} {% tab title="fluent-bit.conf" %} -```python +```text [INPUT] - Name tail - Path /var/log/syslog + Name tail + Path /var/log/syslog [OUTPUT] Name stdout @@ -180,6 +180,9 @@ We need to specify a `Parser_Firstline` parameter that matches the first line of In the case above we can use the following parser, that extracts the Time as `time` and the remaining portion of the multiline as `log` + +{% tabs %} +{% tab title="fluent-bit.conf" %} ```text [PARSER] Name multiline @@ -188,9 +191,24 @@ In the case above we can use the following parser, that extracts the Time as `ti Time_Key time Time_Format %b %d %H:%M:%S ``` +{% endtab %} + +{% tab title="fluent-bit.yaml" %} +```yaml +parsers: + - name: multiline + format: regex + regex: '/(?