Skip to content

Instantly share code, notes, and snippets.

@ssx
Created October 24, 2015 15:35
Show Gist options
  • Save ssx/9be3f4e7d7ad11d31d69 to your computer and use it in GitHub Desktop.
Save ssx/9be3f4e7d7ad11d31d69 to your computer and use it in GitHub Desktop.
Logstash Grok Filter for Laravel Logs
filter {
# Laravel log files
if [type] == "laravel" {
grok {
match => { "message" => "\[%{TIMESTAMP_ISO8601:timestamp}\] %{DATA:env}\.%{DATA:severity}: %{DATA:message} \[" }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment