You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,36 @@ or advanced filtering:
125
125
}
126
126
```
127
127
128
+
#### Advanced Filter Operators
129
+
130
+
Each advanced filter requires an `operatorType`, a `key` (the event property to filter on), and either a `value`, `values`, or no value property depending on the operator type. Up to 25 advanced filters can be configured per subscription.
131
+
132
+
| Operator | Property | Description |
133
+
|----------|----------|-------------|
134
+
|`NumberGreaterThan`|`value`| Event value must be greater than the specified number |
135
+
|`NumberGreaterThanOrEquals`|`value`| Event value must be greater than or equal to the specified number |
136
+
|`NumberLessThan`|`value`| Event value must be less than the specified number |
137
+
|`NumberLessThanOrEquals`|`value`| Event value must be less than or equal to the specified number |
138
+
|`NumberIn`|`values`| Event value must match one of the specified numbers (max 5 values) |
139
+
|`NumberNotIn`|`values`| Event value must not match any of the specified numbers (max 5 values) |
140
+
|`NumberInRange`|`values`| Event value must be within one of the specified ranges (e.g., `[[0, 10], [20, 30]]`) |
141
+
|`NumberNotInRange`|`values`| Event value must not be within any of the specified ranges |
142
+
|`BoolEquals`|`value`| Event value must equal the specified boolean |
143
+
|`StringContains`|`values`| Event value must contain at least one of the specified strings |
144
+
|`StringNotContains`|`values`| Event value must not contain any of the specified strings |
145
+
|`StringBeginsWith`|`values`| Event value must begin with at least one of the specified strings |
146
+
|`StringNotBeginsWith`|`values`| Event value must not begin with any of the specified strings |
147
+
|`StringEndsWith`|`values`| Event value must end with at least one of the specified strings |
148
+
|`StringNotEndsWith`|`values`| Event value must not end with any of the specified strings |
149
+
|`StringIn`|`values`| Event value must match one of the specified strings (max 5 values) |
150
+
|`StringNotIn`|`values`| Event value must not match any of the specified strings (max 5 values) |
151
+
|`IsNullOrUndefined`|_(none)_| Key must be null or not exist |
152
+
|`IsNotNull`|_(none)_| Key must exist and have a non-null value |
153
+
154
+
**Note:** The `key` property supports nested data properties using dot notation, e.g., `Data.MyProperty` or `Data.Nested.Value`.
155
+
156
+
**Note:** String comparisons in advanced filters are case-insensitive. "Not" operators (`StringNotIn`, `NumberNotIn`, etc.) return `true` when the key doesn't exist.
157
+
128
158
**Note:** you can also specify the configuration file to use by setting the `ConfigFile` command line argument, e.g.
0 commit comments