Class ThreatHuntingFunctions.PunctuationPatternFunction

java.lang.Object
org.apache.drill.exec.udfs.ThreatHuntingFunctions.PunctuationPatternFunction
All Implemented Interfaces:
DrillFunc, DrillSimpleFunc
Enclosing class:
ThreatHuntingFunctions

public static class ThreatHuntingFunctions.PunctuationPatternFunction extends Object implements DrillSimpleFunc
Punctuation pattern is useful for comparing log entries. It extracts all the punctuation and returns that pattern. Spaces are replaced with an underscore.

Usage: SELECT punctuation_pattern( string ) FROM...

  • Constructor Details

    • PunctuationPatternFunction

      public PunctuationPatternFunction()
  • Method Details