Skip to content

Instantly share code, notes, and snippets.

@omares
Created January 25, 2013 15:16
Show Gist options
  • Save omares/4635145 to your computer and use it in GitHub Desktop.
Save omares/4635145 to your computer and use it in GitHub Desktop.
filter {
grok {
pattern => "%{TIMESTAMP_ISO8601:timestamp} %{LOGLEVEL:severity} %{NOTSPACE} %{NUMBER:duration}s %{NOTSPACE} %{GREEDYDATA:message}"
tags => ["webservice-requests"]
}
mutate {
add_field => ["shipper_timestamp", "%{@timestamp}"]
}
date {
match => ["timestamp", "ISO8601"]
tags => ["webservice-requests"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment