Skip to content

Help creating a alert #964

Locked Answered by jertel
Sinistr0 asked this question in Q&A
Discussion options

You must be logged in to vote

I suggest using a metric aggregation rule combined with a query_key set to the username field. Cardinality isn't a good fit since you are not looking for a count of unique users logging in, but rather a summation (a.k.a. metric) of the aggregated logins per user.

Frequency rule, with a similar query_key, will also work, provided you don't need to sum a number_of_attempts field, and instead only need the count of log lines per user.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jertel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants