Alert routing and filtering service
kkok (taken from Japanese word 警告 - keikoku -, in English alert) is a service to process alerts nicely. It gathers alerts from miscellaneous sources, applies filters to edit or route them, then sends the processed alerts via email, SMS (Twilio), Slack, etc.
kkok sends alerts through these steps:
Please read Architecture.md for more details.
Generators:
maildir
: generate alerts from mails in a Maildir directory.Filters:
freq
: calculate and add frequency information to alerts.discard
: discard alerts based on the given conditions.group
: merge alerts into groups by field values.route
: add or replace routes to alert receivers.edit
: edit alerts by JavaScript.exec
: invoke an external command to edit alerts.Transports:
Use Go 1.7 or better.
Run the command below exactly as shown, including the ellipsis.
They are significant - see go help packages
.
go get -u github.com/cybozu-go/kkok/...