# Kibana Alerting

**URL:** <https://discuss.elastic.co/t/kibana-alerting/266590>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [March 8, 2021, 4:38pm UTC](https://discuss.elastic.co/t/kibana-alerting/266590 "2021-03-08T16:38:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roey](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@Roey](https://discuss.elastic.co/u/Roey)\
**Post date:** [March 8, 2021, 4:38pm UTC](https://discuss.elastic.co/t/kibana-alerting/266590/1 "2021-03-08T16:38:21Z")

</div>

Hey,  
I'm using Kibana 7.9.1 and recently I've started to explore Monitoring and Alerting, I have few questions:  
I have a monitor with an active trigger, the alert has been triggered for some reason only once.  
Besides, I'm not sure where can I find the log or reason that made the trigger, I only see the trigger with no details(For example, I don't see the IP that made the trigger).

Another issue, when I'm creating a monitor using "Define using extraction query" I can only use the `ctx.results[0].hits.total.value > 0` I don't know how to do the same but with buckets values.

Thank you 🙂

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [March 17, 2021, 1:45am UTC](https://discuss.elastic.co/t/kibana-alerting/266590/2 "2021-03-17T01:45:49Z")

</div>

> [@Roey](#):
>
> Besides, I'm not sure where can I find the log or reason that made the trigger, I only see the trigger with no details(For example, I don't see the IP that made the trigger).

You'll want to go into the Management page for Alerts and look for the alert definition: [Alert details | Kibana Guide [7.9] | Elastic](https://www.elastic.co/guide/en/kibana/7.9/alert-details.html) for the "instances" of the alert.

> [@Roey](#):
>
> Another issue, when I'm creating a monitor using "Define using extraction query" I can only use the `ctx.results[0].hits.total.value > 0` I don't know how to do the same but with buckets values.

You'll want to use Dev Tools to work out a query that has some bucket aggregations, so that the search result contains bucket values. See [Bucket aggregations | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket.html)

Hope this helps! If not, please feel free to add more details to the questions.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 14, 2021, 1:46am UTC](https://discuss.elastic.co/t/kibana-alerting/266590/3 "2021-04-14T01:46:24Z")

</div>

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