Class GrokMatcher


  • public class GrokMatcher
    extends Object
    • Method Detail

      • schema

        public org.apache.kafka.connect.data.Schema schema()
      • getGrokPattern

        public GrokPattern getGrokPattern​(int i)
      • regex

        public org.joni.Regex regex()
        Returns the compiled regex expression.
      • expression

        public String expression()
        Returns the raw regex expression.
      • captures

        public Map<String,​Object> captures​(byte[] bytes)
        Parameters:
        bytes - the text bytes to match.
        Returns:
        a Map that contains all named captured.