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 1
1
# Regular Expression
2
2
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
4
4
a named capture feature to define which content belongs to which key name.
5
5
6
6
Use [ 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.
18
18
19
19
## Configuration Parameters
20
20
21
- The regex parser supports the following configuration parameters.
21
+ The regex parser supports the following configuration parameters:
22
22
23
23
| Key | Description | Default Value |
24
24
| --- | ----------- | ------------- |
@@ -27,10 +27,9 @@ The regex parser supports the following configuration parameters.
27
27
Fluent Bit uses the [ Onigmo] ( https://github.com/k-takata/Onigmo ) regular expression
28
28
library on Ruby mode.
29
29
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,
31
31
a 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.
34
33
35
34
The following parser configuration example provides rules that can be applied to an
36
35
Apache HTTP Server log entry:
You can’t perform that action at this time.
0 commit comments