Skip to content

Commit 85cd5e7

Browse files
committed
Standardizing shell usage in admin config multiline parsing doc. Part of issue #2020.
Signed-off-by: Eric D. Schabell <[email protected]>
1 parent 6bd997d commit 85cd5e7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

administration/configuring-fluent-bit/multiline-parsing.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ To simplify the configuration of regular expressions, you can use the [Rubular](
102102
The following example provides a full Fluent Bit configuration file for multiline parsing by using the definition explained previously. It's provided in following YAML and classic configuration examples:
103103

104104
{% tabs %}
105-
106105
{% tab title="fluent-bit.yaml" %}
107106

108107
This is the primary Fluent Bit YAML configuration file. It includes the `parsers_multiline.yaml` and tails the file `test.log` by applying the multiline parser `multiline-regex-test`. Then it sends the processing to the standard output.
@@ -224,7 +223,7 @@ another line...
224223

225224
By running Fluent Bit with the corresponding configuration file you will obtain the following output:
226225

227-
```text
226+
```shell
228227
# For YAML configuration.
229228
$ ./fluent-bit --config fluent-bit.yaml
230229
@@ -399,15 +398,14 @@ Dec 14 06:41:08 Exception in thread "main" java.lang.RuntimeException: Something
399398
at com.myproject.module.MyProject.someMethod(MyProject.java:10)
400399
at com.myproject.module.MyProject.main(MyProject.java:6)
401400
another line...
402-
403401
```
404402

405403
{% endtab %}
406404
{% endtabs %}
407405

408406
By running Fluent Bit with the corresponding configuration file you will obtain:
409407

410-
```text
408+
```shell
411409
# For YAML configuration.
412410
$ ./fluent-bit --config fluent-bit.yaml
413411
@@ -425,4 +423,4 @@ $ ./fluent-bit --config fluent-bit.conf
425423
"}]
426424
[2] tail.0: [[1750333602.460998000, {}], {"log"=>"another line...
427425
"}]
428-
```
426+
```

0 commit comments

Comments
 (0)