# Kibana alerting mechanism

**URL:** <https://discuss.elastic.co/t/kibana-alerting-mechanism/309414>\
**Category:** Kibana\
**Created:** [July 12, 2022, 12:05pm UTC](https://discuss.elastic.co/t/kibana-alerting-mechanism/309414 "2022-07-12T12:05:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jathurshan\_Sumandira](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jathurshan_sumandira/32/108118_2.png) [@Jathurshan\_Sumandira](https://discuss.elastic.co/u/Jathurshan_Sumandira)\
**Post date:** [July 12, 2022, 12:05pm UTC](https://discuss.elastic.co/t/kibana-alerting-mechanism/309414/1 "2022-07-12T12:05:47Z")

</div>

Hi Team,

I am using Kibana alert rules and I used Elasticsearch query type. This query is scheduled to run every 1 minute. I have 20 alert rules with Elasticsearch query types.

I need to know that, is it possible to concatenate these rules into one rule?  
If not, the performance hit on Elastic DB. Since I am using one particular index for all these queries.

My queries are similar to those below:

1st query: time duration between start-time and end-time is more than 30 seconds  
2nd query: time duration between the request time and the response time is more than 60 seconds

---

<div class="post-metadata">

**Author:** ![hendry.lim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hendry.lim/32/71328_2.png) [@hendry.lim](https://discuss.elastic.co/u/hendry.lim)\
**Post date:** [July 15, 2022, 12:27am UTC](https://discuss.elastic.co/t/kibana-alerting-mechanism/309414/2 "2022-07-15T00:27:02Z")

</div>

Depending on how complex the query is, you will need to combine the query DSL yourself, i.e. try to use a combination of Elasticsearch `bool` query.

---

<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:** [August 12, 2022, 12:27am UTC](https://discuss.elastic.co/t/kibana-alerting-mechanism/309414/3 "2022-08-12T00:27:06Z")

</div>

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