# How to query for getting aggregating count of variable in "Rules and Connectors"

**URL:** <https://discuss.elastic.co/t/how-to-query-for-getting-aggregating-count-of-variable-in-rules-and-connectors/314776>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [September 20, 2022, 1:00pm UTC](https://discuss.elastic.co/t/how-to-query-for-getting-aggregating-count-of-variable-in-rules-and-connectors/314776 "2022-09-20T13:00:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![girish\_5565](https://avatars.discourse-cdn.com/v4/letter/g/34f0e0/32.png) [@girish\_5565](https://discuss.elastic.co/u/girish_5565)\
**Post date:** [September 20, 2022, 1:00pm UTC](https://discuss.elastic.co/t/how-to-query-for-getting-aggregating-count-of-variable-in-rules-and-connectors/314776/1 "2022-09-20T13:00:50Z")

</div>

Hi ,

Please help me in this regard, how to get the aggregated count of one variable by query in Rules.

Thanks & Regards,  
Gireesh

---

<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:** [October 18, 2022, 1:01pm UTC](https://discuss.elastic.co/t/how-to-query-for-getting-aggregating-count-of-variable-in-rules-and-connectors/314776/2 "2022-10-18T13:01:14Z")

</div>

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