Where are filter conditions used?
Filter conditions apply to the following scenarios:How to configure filter conditions?
Rule design
A filter consists of one or more condition groups:- Conditions within a group:
ANDrelationship—each condition must match for the group to match - Between groups:
ORrelationship—any group matching means overall match
- Match: Target can have multiple values; if any value satisfies the condition, that condition matches
- Not Match: Target can have multiple values; if all values don’t satisfy the condition, that condition matches
Available fields
Filter condition keys fall into two categories:
As shown above, there are two condition groups, each with two conditions, and the conditions have multiple match values:
- Group 1:
severitymatchesCriticalorWarning, andlabels.checkmatchesBinlog Sync Delay - Group 2:
labels.checkmatches any of/cpu/,/io/, or/disk/, andlabels.valuematchesnum:gt:90
Matching methods
Target values are always strings; the format decides the matching method: regex, wildcard, CIDR (IP range), or numeric comparison, and anything else is an exact match. The condition editor lists the available methods directly under the input; the fourth one is labelled CIDR Matching in the UI.- Regex Matching
- Wildcard Matching
- CIDR Matching
- Numeric Matching
- Exact Matching
When a value string has
/ as prefix and suffix, Flashduty treats the entire value as regex.Example:labels.check:/outage/— matches when check label contains “outage”
Flashduty uses
RE2 regex specification platform-wide. Some Perl syntax may not match. You can use AI Chatbot to generate expressions and verify at RE2 Playground.FAQ
Why doesn't the system suggest available labels?
Why doesn't the system suggest available labels?
Flashduty On-call receives large volumes of data. To ensure system stability, the system only searches the most recent 500 alert events from the past 24 hours for label deduplication. Therefore, extracted labels may change dynamically, or no labels may be extracted if there’s no new data in the past 24 hours.In this case, you can manually enter labels.