Created
September 18, 2013 09:24
-
-
Save garethr/6606714 to your computer and use it in GitHub Desktop.
Simplistic grok filter for parsing naxsi errors from nginx logs
This file contains 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
grok { | |
type => "nginx_error" | |
match => ["message", "ip=%{IP:client_ip}&server=%{IP:server_ip}&uri=%{PATH:uri}&total_processed=%{NUMBER:total_processed}&total_blocked=%{NUMBER:total_blocked}&zone0=%{WORD:zone}&id0=%{NUMBER:id}"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment