Created
October 24, 2015 15:35
-
-
Save ssx/9be3f4e7d7ad11d31d69 to your computer and use it in GitHub Desktop.
Logstash Grok Filter for Laravel Logs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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