Interface Grok.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Grok.Builder,Grok>,SdkBuilder<Grok.Builder,Grok>,SdkPojo
- Enclosing class:
- Grok
public static interface Grok.Builder extends SdkPojo, CopyableBuilder<Grok.Builder,Grok>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Grok.Buildermatch(String match)The grok pattern to match against the log event.Grok.Buildersource(String source)The path to the field in the log event that you want to parse.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
source
Grok.Builder source(String source)
The path to the field in the log event that you want to parse. If you omit this value, the whole log message is parsed.
- Parameters:
source- The path to the field in the log event that you want to parse. If you omit this value, the whole log message is parsed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
Grok.Builder match(String match)
The grok pattern to match against the log event. For a list of supported grok patterns, see Supported grok patterns.
- Parameters:
match- The grok pattern to match against the log event. For a list of supported grok patterns, see Supported grok patterns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-