Skip to content

Instantly share code, notes, and snippets.

@postwait
Created May 3, 2013 05:58
Show Gist options
  • Select an option

  • Save postwait/5507442 to your computer and use it in GitHub Desktop.

Select an option

Save postwait/5507442 to your computer and use it in GitHub Desktop.
input {
tcp {
port => 5000
format => json_event
type => raw
}
filter {
grep {
tags => web
drop => false
add_field => [ "application", "web" ]
}
mutate {
tags => web
replace => [ "@message", "%{request}" ]
}
}
output {
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment