Skip to content

Instantly share code, notes, and snippets.

@GaryRogers
Created May 16, 2014 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GaryRogers/7055b08d2b68b2a4f8ec to your computer and use it in GitHub Desktop.
Save GaryRogers/7055b08d2b68b2a4f8ec to your computer and use it in GitHub Desktop.
Logstash patterns for elasticsearch.log
ELASTICSEARCHTIME \[%{TIMESTAMP_ISO8601:timestamp}\]
ELASTICSEARCHLEVEL \[%{LOGLEVEL:level}\s+\]
ELASTICSEARCHSERVICE \[%{DATA:service}\s+\]
ELASTICSEARCHVERSION \[%{DATA:version}\]
ELASTICSEARCHLOG %{ELASTICSEARCHTIME}%{ELASTICSEARCHLEVEL}%{ELASTICSEARCHSERVICE} %{ELASTICSEARCHVERSION} %{GREEDYDATA:mymessage}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment