# Map Alert Rules to Kibana Widget

**URL:** <https://discuss.elastic.co/t/map-alert-rules-to-kibana-widget/305544>\
**Category:** Kibana\
**Created:** [May 24, 2022, 11:08pm UTC](https://discuss.elastic.co/t/map-alert-rules-to-kibana-widget/305544 "2022-05-24T23:08:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsoule6](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jsoule6](https://discuss.elastic.co/u/jsoule6)\
**Post date:** [May 24, 2022, 11:08pm UTC](https://discuss.elastic.co/t/map-alert-rules-to-kibana-widget/305544/1 "2022-05-24T23:08:22Z")

</div>

Hello,

We are looking to use Kibana dashboard capability to provide monitoring capability for our customer. We are going to be create alert rules based on numerous custom conditions and would like to map the rules to widgets in a Dashboard. To give an example:

Server health widget with the following rules mapped to it:  
CPU Utilization  
Memory Utilization  
Overall Disk Space Available  
Server Uptime

Application health widget with the following rules mapped to it:  
Transaction Error Rate  
Transaction Response Time

If any rule is triggered, the respective widget would turn yellow or red based on the rule conditions and criticality. This would give the operations team a single pane of glass dashboard for the current status of the application.

Is there any way to map rules created in Kibana to widgets in the Dashboard?

---

<div class="post-metadata">

**Author:** ![ktony](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@ktony](https://discuss.elastic.co/u/ktony)\
**Post date:** [May 27, 2022, 6:40am UTC](https://discuss.elastic.co/t/map-alert-rules-to-kibana-widget/305544/2 "2022-05-27T06:40:25Z")

</div>

Hello,

We have experienced a similar issue when trying to create a single visualization, preferably a pie or donut chart that would show the comparison between multiple categories. The goal is to illustrate the dominance of one category over others & show percentage or proportional data.

Basically in a single pie chart we are looking to map the following conditions for the apm index:

> Green - \> Healthy -\> 0 errors  
> Yellow -\> Warning -\> Between 0 & 3 errors  
> Red -\> Critical -\> Greater than 3 errors

In Kibana, we are unable to complete bucket aggregation based on condition using pie chart.  
Please advise on a solution. Thanks!

---

<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:** [June 24, 2022, 6:41am UTC](https://discuss.elastic.co/t/map-alert-rules-to-kibana-widget/305544/3 "2022-06-24T06:41:15Z")

</div>

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