# "logs threshold rule" missing "comparator": "MATCHES"

**URL:** <https://discuss.elastic.co/t/logs-threshold-rule-missing-comparator-matches/343734>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [September 25, 2023, 9:46am UTC](https://discuss.elastic.co/t/logs-threshold-rule-missing-comparator-matches/343734 "2023-09-25T09:46:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BRINDAH\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brindah_b/32/125978_2.png) [@BRINDAH\_B](https://discuss.elastic.co/u/BRINDAH_B)\
**Post date:** [September 25, 2023, 9:46am UTC](https://discuss.elastic.co/t/logs-threshold-rule-missing-comparator-matches/343734/1 "2023-09-25T09:46:03Z")

</div>

I want to create a "logs threshold rule" with "comparator": "MATCHES" or "MATCHES PHRASE".  
I want to be able to use the "message" field in my log-threshold rule, which is of type "text".  
Is this possible? Right now im only getting comparisons "IS" and "IS NOT".

 ![LogRuleType](https://us1.discourse-cdn.com/elastic/original/3X/5/b/5b651627e971d8d4cb633a637ed2e4df3b0634c3.png)

---

<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 23, 2023, 9:46am UTC](https://discuss.elastic.co/t/logs-threshold-rule-missing-comparator-matches/343734/2 "2023-10-23T09:46:10Z")

</div>

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