Skip to content

Instantly share code, notes, and snippets.

@saurzcode
Created August 9, 2014 11:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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