Support AND, OR and NOT for labels in filters
Currently, a host needs to have all labels of a filter, so it is an AND operation.
It would be very helpful, if a OR operation can be used, so hosts of either of the defined labels are shown
Comments: 5
-
04 May
GerdWhile you are add it, could we get label filtering by regex?
-
11 May
Robert SanderOR operation is achieved by using two rules in the ruleset
-
12 May
AndyThis is for filters not rules. You can't add multiple filters for a view, for example
-
23 May
AndyIt would be nice if the labes, when used in filters or rules could be split by key:value and allows for wildcard/regex search.
For example you have one label key called city and the values contains a countrycode+city. So you could for example want to search for city:de to include all german sites. As this data (iirc) is stored in redis it would be possible to even show all the values that belongs to a specific key as dropdowns making the query faster. -
2 days ago
KGI like that. While you are at it, maybe that's too large but it would be sweet if all the fields/filters etc. would behave somehow the same and had the same rules applied. E.g. its not very intuitive that service-names do regex-matching by default while hostname-fields need a "~" prefix for that as they are exact match otherwise.
Maybe that needs to be another feature to vote for but that way this will all continue to look stitched together...