Skip to content

Instantly share code, notes, and snippets.

@danslimmon
Created July 28, 2014 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danslimmon/30fb83811f91495dc54a to your computer and use it in GitHub Desktop.
Save danslimmon/30fb83811f91495dc54a to your computer and use it in GitHub Desktop.
filter {
if [type] == "nginx_access" {
clone { clones => [ "nginx_mini" ] }
}
if [type] == "nginx_mini" {
# Nothing ever gets here!
mutate { add_tag => "test" }
prune { whitelist_names => [ "agent", "clientip", "timestamp" ] }
}
}
output {
if [type] == "nginx_mini" {
sqs { ... }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment