Overview
Filters can be used for explicit object matching, as well as members of Stream and Action objects, where they control the types of Event that can enter an Action or Stream.
Note that regular expressions in these filters follow the Java regex format.
Filter Operations
| Comparison Type | Syntax | Example |
|---|---|---|
| Attribute Value | attribute < <= == > >= != value | path == '/streamPath' location.lat > 43.535635 elems.arbitraryAttribute != false |
| Attribute Comparison | attribute1 < <= == > >= != attribute2 | path == descriptionelems.attribute1 >= elems.attribute2 |
| Modulo | attribute1 % X (== OR !=) Y | elems.counter % 100 == 0 |
| IN | attribute IN ["value1", "value2", "value3"] | elems.status IN ["shipped", "delivered"] |
| CONTAINS | attribute CONTAINS ["value1", "value2", "value3"] | elems.ingredients CONTAINS ["potato", "salad"] |
