Skip to content

Instantly share code, notes, and snippets.

@saurzcode
Created August 9, 2014 11:34
Show Gist options
  • Save saurzcode/da3b31f0496b5feba8c9 to your computer and use it in GitHub Desktop.
Save saurzcode/da3b31f0496b5feba8c9 to your computer and use it in GitHub Desktop.
LogStash Grok Configuration
input {
file {
path => ["var/log/apache.log"]
type => "saurzcode_apache_logs"
}
}
filter {
grok {
match => ["message","%{COMBINEDAPACHELOG}"]
}
}
output{
stdout{}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment