Skip to content

Instantly share code, notes, and snippets.

@armiiller
Created November 7, 2019 18:36
Show Gist options
  • Save armiiller/13b5210e3d7b4e5793223e0697a81675 to your computer and use it in GitHub Desktop.
Save armiiller/13b5210e3d7b4e5793223e0697a81675 to your computer and use it in GitHub Desktop.
# Example: aggregate the alert by source for a period of 5 minutes. Then assign all aggregated alerts to tem_xxxxxx1
---
rules:
- match:
always: true
actions:
- type: aggregate
by:
- source_id
timeout: 1m
receiver: tem_xxxxxx1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment