Interface Grok.Builder

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