Filter rule description

Last updated: 2023-09-08 14:24:43
The filter allows you to configure filtering rules such as field sizes to filter data. Only data that meets the specified rules will be retained.

Supports and Limits

Filter matching is case-sensitive and accurate down to the character. During matching, no standardized operations will be performed on strings.
Values to be matched must be in JSON format, which include strings and numeric values enclosed in quotation marks as well as keywords not enclosed in quotation marks (true, false, and null).

Prefix Match

You can perform key value matching by comparing a specified prefix with the prefix in data.
For example, given the data {"password":"topicname"}, if the specified prefix match value for password is top, then {"password":"topicname"} will be successfully matched.

End with

You can perform key value matching by comparing a specified suffix with the suffix in data.
For example, given the data {"password":"topicname"}, if the suffix matching value for password is set to name, then {"password":"topicname"} will be successfully matched.

Contains Match

You can specify a field to be included in data as a match condition.
For example, given the data {"password":"topicname"}, specifying the password's match value as na will result in a successful match for {"password":"topicname"}.

Exclude match

You can specify a field to be excluded from data as a match condition.
For instance, if the data is {"password":"topicname"} and the exclusion match value for 'password' is set to topicname, only {"password":"topicname"} will not be matched successfully.

By value

You can specify the value or value range of a certain field as a match condition.
For example, given the data { "numeric": 10}, if the specified numeric value match is <15, then { "numeric": 10} can be matched successfully.
Note
Greater than 10 input: >10
Input greater than or equal to 10: >=10
Greater than or equal to 10 and less than or equal to 20 input: >=10&<=20
For values greater than or equal to 10 or less than or equal to 5, input: >=10|<=5

IP Match

You can specify the IP address of a data field.
The IP is in CIDR notation. For example, you can enter 1.2.3.4/24 to match IPs where the leading 24 bits start with "1.2.3.".