Search code examples
logstashlogstash-grok

List of SYNTAX for logstash's grok


The syntax for a grok pattern is %{SYNTAX:SEMANTIC}. How do i generate a list of all available SYNTAX keywords ? I know that I can use the grok debugger to discover patterns from text. But is there a list which i can scan through?


Solution

  • They are in GIT and included somewhere in the distribution. But it's probably just easiest to view it online:

    https://github.com/elasticsearch/logstash/blob/v1.4.0/patterns/grok-patterns