# Filter not working in gui Alerting plugin

**URL:** <https://forum.opensearch.org/t/filter-not-working-in-gui-alerting-plugin/15181>\
**Category:** Alerting\
**Tags:** troubleshoot\
**Created:** [July 20, 2023, 2:45pm UTC](https://forum.opensearch.org/t/filter-not-working-in-gui-alerting-plugin/15181 "2023-07-20T14:45:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![drBenway](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/drbenway/32/1616_2.png) [@drBenway](https://forum.opensearch.org/u/drBenway)\
**Post date:** [July 20, 2023, 2:45pm UTC](https://forum.opensearch.org/t/filter-not-working-in-gui-alerting-plugin/15181/1 "2023-07-20T14:45:54Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser): OS Dashboard 2.8/ Alerting plugin, firefox and Chrome on OSX

**Describe the issue** :  
I want to create an alert when more than 10 errors are logged during 1 hour via the Gui. When filling in the filter it doesnt take the changes.

I can pick json.log.level from the list but when I type the word error in the text field and hit enter or tab out of the field, the filter is not accepted (same for “error”). The browsers console.log writes “Unknown query operator detected: is”. I tested this on latest OSX with Firefox(115.0.2) and Chrome versions. Clicking outside of the popover after filling in the fields has the same effect.

**Configuration** :

**Relevant Logs or Screenshots** :

 ![image](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/9/91dda67e7828be4d90513afef4546ba170d7f2da.png)

 ![image](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/c/c3376ba57c7b76eef13776e749f4abcf1564efe1.png)

---

<div class="post-metadata">

**Author:** ![Eugene7](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@Eugene7](https://forum.opensearch.org/u/Eugene7)\
**Post date:** [July 20, 2023, 3:50pm UTC](https://forum.opensearch.org/t/filter-not-working-in-gui-alerting-plugin/15181/2 "2023-07-20T15:50:15Z")

</div>

Hi @drBenway

I had the same issue as you have.

The issue has been reported, and its status is open now:

> <https://github.com/opensearch-project/alerting-dashboards-plugin/issues/558>
>
> @chengleqi commented on \[Thu May 25 2023\](https://github.com/opensearch-project/…OpenSearch-Dashboards/issues/4134)
> 
> \*\*Describe the bug\*\*
> There is no button to add a filter.
> 
> \*\*To Reproduce\*\*
> Add monitor, use the visual editor and then add a data filter.
> 
> \*\*Expected behavior\*\*
> There is a button that allows me to add a data filter.
> 
> \*\*OpenSearch Version\*\*
> 2.7.0
> 
> \*\*Dashboards Version\*\*
> 2.7.0
> 
> \*\*Plugins\*\*
> !\[image\](https://github.com/opensearch-project/OpenSearch-Dashboards/assets/53958238/79f704b1-074a-4198-b4fe-672fefec5a49)
> 
> 
> \*\*Screenshots\*\*
> !\[1685005580959\](https://github.com/opensearch-project/OpenSearch-Dashboards/assets/53958238/c8ec2641-cf71-48d5-a30f-cdbedd5b393c)
> 
> If applicable, add screenshots to help explain your problem.
> 
> \*\*Host/Environment (please complete the following information):\*\*
> - OS: Use docker compose commad method in quick start
> - Browser and version: Google Chrome/113.0.5672.127
> 
> \*\*Additional context\*\*
> 
> Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![drBenway](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/drbenway/32/1616_2.png) [@drBenway](https://forum.opensearch.org/u/drBenway)\
**Post date:** [August 23, 2023, 12:51pm UTC](https://forum.opensearch.org/t/filter-not-working-in-gui-alerting-plugin/15181/3 "2023-08-23T12:51:59Z")

</div>

Thnx Eugene7, It’s indeed fixed in 2.9

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/3/33547ea01a5b12dcca2958411d3edd97ae2ea8c1.png) [@system](https://forum.opensearch.org/u/system)\
**Post date:** [October 22, 2023, 12:52pm UTC](https://forum.opensearch.org/t/filter-not-working-in-gui-alerting-plugin/15181/4 "2023-10-22T12:52:53Z")

</div>

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