List of SYNTAX for logstash's grok

user1411110 picture user1411110 · May 7, 2014 · Viewed 34.9k times · Source

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?

Answer

Alcanzar picture Alcanzar · May 7, 2014

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