File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 11# Regular Expression
22
3- The ** Regex** parser lets you to define a custom Ruby regular expression that uses
3+ The ** Regex** parser lets you define a custom Ruby regular expression that uses
44a named capture feature to define which content belongs to which key name.
55
66Use [ Tail Multiline] ( ../inputs/tail.md#multiline ) when you need to support regexes
@@ -18,7 +18,7 @@ Setting the format to **regex** requires a `regex` configuration key.
1818
1919## Configuration Parameters
2020
21- The regex parser supports the following configuration parameters.
21+ The regex parser supports the following configuration parameters:
2222
2323| Key | Description | Default Value |
2424| --- | ----------- | ------------- |
@@ -27,10 +27,9 @@ The regex parser supports the following configuration parameters.
2727Fluent Bit uses the [ Onigmo] ( https://github.com/k-takata/Onigmo ) regular expression
2828library on Ruby mode.
2929
30- You can only use alphanumeric characters and underscore in group names. For example,
30+ You can use only alphanumeric characters and underscore in group names. For example,
3131a group name like ` (?<user-name>.*) ` causes an error due to the invalid dash (` - ` )
32- character. Use the [ http://rubular.com/ ] ( http://rubular.com/ ) web editor to test your
33- expressions
32+ character. Use the [ Rubular] ( http://rubular.com/ ) web editor to test your expressions.
3433
3534The following parser configuration example provides rules that can be applied to an
3635Apache HTTP Server log entry:
You can’t perform that action at this time.
0 commit comments