Instantly share code, notes, and snippets.

anonymous /gist:4686014c8635965df3d4
Created Jul 29, 2014

Embed
What would you like to do?
grok {
match => [ "message", "%{SYSLOGTIMESTAMP} %{DATA:hostname} %{DATA:logtype}: %{DATA:severitycode}, %{GREEDYDATA} #%{GREEDYDATA:sessID}/] %{DATA:severity} -- : %{DATA:status} %{NUMBER:statuscode} OK in %{NUMBER:responsetime}ms %{DATA}: %{NUMBER:viewstime}ms %{DATA}: %{NUMBER:solrtime}ms"]
add_field => {
responsetime => %responsetime
}
break_on_match => false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment