Interface Grok.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Grok.Builder,
,Grok> SdkBuilder<Grok.Builder,
,Grok> SdkPojo
- Enclosing class:
Grok
@Mutable
@NotThreadSafe
public static interface Grok.Builder
extends SdkPojo, CopyableBuilder<Grok.Builder,Grok>
-
Method Summary
Modifier and TypeMethodDescriptionThe grok pattern to match against the log event.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 Details
-
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
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.
-