Skip to content

Commit 35c0eca

Browse files
committed
multiline_parsing: fix some typos
Signed-off-by: lecaros <[email protected]>
1 parent e88fdf4 commit 35c0eca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ To understand which Multiline parser type is required for your use case you have
3838
| parser | <p>Name of a pre-defined parser that must be applied to the incoming content before applying the regex rule. If no parser is defined, it's assumed that's a raw text and not a structured message. </p><p></p><p>Note: when a parser is applied to a raw text, then the regex is applied against a specific key of the structured message by using the <code>key_content</code> configuration property (see below).</p> | |
3939
| key_content | For an incoming structured message, specify the key that contains the data that should be processed by the regular expression and possibly concatenated. | |
4040
| flush_timeout | Timeout in milliseconds to flush a non-terminated multiline buffer. Default is set to 5 seconds. | 5s |
41-
| rule | Configure a rule to match a multiline pattern. The rule has a specific format described above, multiple rules can be defined. | |
41+
| rule | Configure a rule to match a multiline pattern. The rule has a specific format described below. Multiple rules can be defined. | |
4242

4343
#### Lines and States
4444

@@ -68,9 +68,9 @@ rule "start_state" "/(Dec \d+ \d+\:\d+\:\d+)(.*)/" "cont"
6868
rule "cont" "/^\s+at.*/" "cont"
6969
```
7070

71-
In the example above, we have defined two rules, each one has its own state name, regex paterns, and the next state name. Every field that composes a rule **must** **be **inside double quotes.
71+
In the example above, we have defined two rules, each one has its own state name, regex paterns, and the next state name. Every field that composes a rule **must be** inside double quotes.
7272

73-
The first rule of state name **must **always be **start_state**, and the regex pattern **must** match the first line of a multiline message, also a next state must be set to specify how the possible continuation lines would look like.
73+
The first rule of state name **must always** be **start_state**, and the regex pattern **must** match the first line of a multiline message, also a next state must be set to specify how the possible continuation lines would look like.
7474

7575
{% hint style="info" %}
7676
To simplify the configuration of regular expressions, you can use the Rubular web site. We have posted an example by using the regex described above plus a log line that matches the pattern:\

0 commit comments

Comments
 (0)