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 Details

    • 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.