public class GrokUtils
extends java.lang.Object
GrokUtils contain set of useful tools or methods.| Modifier and Type | Field and Description |
|---|---|
static java.util.regex.Pattern |
GROK_PATTERN
Extract Grok patter like %{FOO} to FOO, Also Grok pattern with semantic.
|
static java.util.regex.Pattern |
NAMED_REGEX |
| Constructor and Description |
|---|
GrokUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<java.lang.String> |
getNameGroups(java.lang.String regex) |
static java.util.Map<java.lang.String,java.lang.String> |
namedGroups(java.util.regex.Matcher matcher,
java.util.Set<java.lang.String> groupNames) |