Support Regex for Labels in Rules
https://features.checkmk.com/suggestions/293832/support-and-or-and-not-for-labels-in-filters and https://features.checkmk.com/suggestions/310195/regex-for-host-labels-in-filters already show people like to use labels.
However, once one starts to use them extensively in filters, and hence labels become more and more a primary selector of hosts/services for users, the next step will be to want to apply rules based on label key/values and their regex.
I guess " regex for key + value" might be more expensive when it comes to computing applicable rules, so I would be happy with only the value being regex capable.
Comments: 2
-
22 Nov, '22
Volker MaibaumThis should also apply for filtering with tags.
Generally there should be a general way that allows putting together conditions of different type (labels, tags, hostnames, ....).
Maybe a simple query language would help here, like e.g. it exists in Jira (https://support.atlassian.com/jira-service-management-cloud/docs/use-advanced-search-with-jira-query-language-jql/)
This should be available everywhere where you do some kind of filtering:
- filter in UI
- rules
- notifications
- ... -
31 Jan
DanielI fully agree - for me it would be an half/incomplete implemented feature if its not possible to use it in rules. Not want to being overly pessimistic, but this one is not getting enough attention I think to be even considered. And while the main Feature is marked as planned, nothing happend here so far :(