# Kibana alert on boolean field possible?

**URL:** https://discuss.elastic.co/t/kibana-alert-on-boolean-field-possible/252715
**Category:** Kibana
**Tags:** elastic-stack-alerting
**Created:** [October 20, 2020, 4:05pm UTC](https://discuss.elastic.co/t/kibana-alert-on-boolean-field-possible/252715 "2020-10-20T16:05:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Bastian\_Jager](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bastian_jager/32/57892_2.png) [@Bastian\_Jager](https://discuss.elastic.co/u/Bastian_Jager)
#### Post date: [October 20, 2020, 4:05pm UTC](https://discuss.elastic.co/t/kibana-alert-on-boolean-field-possible/252715/1 "2020-10-20T16:05:54Z")

</div>

Hello,

I would like to know if kibana alerts ([https://www.elastic.co/guide/en/kibana/current/alert-types.html](https://www.elastic.co/guide/en/kibana/current/alert-types.html)) can somehow handle boolean fields.

I have an index pattern with a field "error\_signal" as boolean and would like to create an kibana alert on it. As far as I read before, I thought the **index threshold alert** would be the solution, but I can not filter there for

`if "error_signal" : true`

like I can do it in my usual queries.

Is there a solution to it (with the basic license)?

---

<div class="post-metadata">

### Author: ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)
#### Post date: [October 21, 2020, 7:35pm UTC](https://discuss.elastic.co/t/kibana-alert-on-boolean-field-possible/252715/2 "2020-10-21T19:35:49Z")

</div>

Currently alerts don't yet support filtering, however this is a feature we are working toward. You can follow along with the Github issue if you are interested: [https://github.com/elastic/kibana/issues/66046](https://github.com/elastic/kibana/issues/66046)

There are also plans to eventually bring alerts to Discover, which would provide the same type of functionality -- allowing you to create an alert based on your current view of Discover, including filters. The issue to follow for that is [https://github.com/elastic/kibana/issues/71099](https://github.com/elastic/kibana/issues/71099)

---

<div class="post-metadata">

### Author: ![Bastian\_Jager](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bastian_jager/32/57892_2.png) [@Bastian\_Jager](https://discuss.elastic.co/u/Bastian_Jager)
#### Post date: [November 3, 2020, 10:39am UTC](https://discuss.elastic.co/t/kibana-alert-on-boolean-field-possible/252715/3 "2020-11-03T10:39:06Z")

</div>

Thanks! I hope we will see the feature soon.

---

<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 1, 2020, 10:39am UTC](https://discuss.elastic.co/t/kibana-alert-on-boolean-field-possible/252715/4 "2020-12-01T10:39:10Z")

</div>

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