Class GrokDataFormat.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • flattened

        public GrokDataFormat.Builder flattened​(String flattened)
        Turns on flattened mode. In flattened mode the exception is thrown when there are multiple pattern matches with same key.
      • flattened

        public GrokDataFormat.Builder flattened​(boolean flattened)
        Turns on flattened mode. In flattened mode the exception is thrown when there are multiple pattern matches with same key.
      • allowMultipleMatchesPerLine

        public GrokDataFormat.Builder allowMultipleMatchesPerLine​(String allowMultipleMatchesPerLine)
        If false, every line of input is matched for pattern only once. Otherwise the line can be scanned multiple times when non-terminal pattern is used.
      • allowMultipleMatchesPerLine

        public GrokDataFormat.Builder allowMultipleMatchesPerLine​(boolean allowMultipleMatchesPerLine)
        If false, every line of input is matched for pattern only once. Otherwise the line can be scanned multiple times when non-terminal pattern is used.
      • namedOnly

        public GrokDataFormat.Builder namedOnly​(String namedOnly)
        Whether to capture named expressions only or not (i.e. %{IP:ip} but not ${IP})
      • namedOnly

        public GrokDataFormat.Builder namedOnly​(boolean namedOnly)
        Whether to capture named expressions only or not (i.e. %{IP:ip} but not ${IP})