How to alert based on filter query count? Index Threshold Rule Type?

I want to set up an alert in Kibana Observability where if the number of records returned for event.dataset: login and event.outcome: failure is greater than 10 for the past minute, then set the alert rule to active.

I'm not sure which rule type I'm supposed to use for that. I read that there is an Index Threshold Rule Type: Index threshold | Kibana Guide [8.5] | Elastic . But I don't see it available in my Kibana version 8.5, see this screenshot.

What rule type should I be using? Or how should I go about accomplishing my goal of being notified of failed login attempts within the past minute?

Hi @learningelastic!

Alerts which are available in Observability UI is only a subset of all available alerts in Kibana. To see the whole list, please navigate to Stack Management > Rules page.

There is also "Elasticsearch query" type that might fit your use case. You can choose from 2 configuration options: via DSL query or via KQL/Lucene and UI controls:



The same rule type can also be defined from Discover page:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.