# Create an alert based on a filter ratio TSVB

**URL:** https://discuss.elastic.co/t/create-an-alert-based-on-a-filter-ratio-tsvb/290174
**Category:** Kibana
**Tags:** elastic-stack-alerting
**Created:** [November 25, 2021, 12:50pm UTC](https://discuss.elastic.co/t/create-an-alert-based-on-a-filter-ratio-tsvb/290174 "2021-11-25T12:50:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![hben](https://avatars.discourse-cdn.com/v4/letter/h/dfb087/32.png) [@hben](https://discuss.elastic.co/u/hben)
#### Post date: [November 25, 2021, 12:50pm UTC](https://discuss.elastic.co/t/create-an-alert-based-on-a-filter-ratio-tsvb/290174/1 "2021-11-25T12:50:21Z")

</div>

Hi, I got a dashboard with a filter ratio in it and I need to convert it into an alert, how can I do it?

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [November 25, 2021, 5:41pm UTC](https://discuss.elastic.co/t/create-an-alert-based-on-a-filter-ratio-tsvb/290174/2 "2021-11-25T17:41:10Z")

</div>

Hi @hben Welcome to the community.

That's not a lot of information to go on but perhaps Have you looked at the Kibana alerting framework.

The threshold alert has a ratio alert.

> **[Create a logs threshold rule | Observability Guide \[7.15\] | Elastic](https://www.elastic.co/guide/en/observability/current/logs-threshold-alert.html)**

You'll probably need to learn a little bit about alerting and setting it up

> **[Alerting | Kibana Guide \[7.15\] | Elastic](https://www.elastic.co/guide/en/kibana/7.15/alerting-getting-started.html)**

---

<div class="post-metadata">

### Author: ![ghudgins](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ghudgins/32/138532_2.png) [@ghudgins](https://discuss.elastic.co/u/ghudgins)
#### Post date: [November 29, 2021, 3:54pm UTC](https://discuss.elastic.co/t/create-an-alert-based-on-a-filter-ratio-tsvb/290174/3 "2021-11-29T15:54:19Z")

</div>

@hben this is something that is not yet possible but is on in our 8.x roadmap. we are looking to add alerting support to many post-aggregation metrics (the filter ratio being the most dominant request)

This is the issue to follow - [[Lens] Alerting from Lens Visualizations · Issue #71150 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/71150)

---

<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: [December 27, 2021, 3:54pm UTC](https://discuss.elastic.co/t/create-an-alert-based-on-a-filter-ratio-tsvb/290174/4 "2021-12-27T15:54:49Z")

</div>

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