Skip to content

Instantly share code, notes, and snippets.

@ghostwriter
Created May 7, 2016 03:46
Show Gist options
  • Select an option

  • Save ghostwriter/86b1e6bf0a0470131b6fad61e453f43c to your computer and use it in GitHub Desktop.

Select an option

Save ghostwriter/86b1e6bf0a0470131b6fad61e453f43c to your computer and use it in GitHub Desktop.
This throttle filter config should tag anything more than 30 events in a 60 second period with "chill-out" and we will skip sending them to pagerduty

filter { throttle { before_count => 30 period => 60 add_tag => "chill-out" } }

output { if "chill-out" not in [tags] { pagerduty { ... } } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment