Filters

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 TypeSyntaxExample
Attribute Valueattribute < <= == > >= != valuepath == '/streamPath'
location.lat > 43.535635
elems.arbitraryAttribute != false
Attribute Comparisonattribute1 < <= == > >= != attribute2path == description
elems.attribute1 >= elems.attribute2
Moduloattribute1 % X (== OR !=) Yelems.counter % 100 == 0
INattribute IN ["value1", "value2", "value3"]elems.status IN ["shipped", "delivered"]
CONTAINSattribute CONTAINS ["value1", "value2", "value3"]elems.ingredients CONTAINS ["potato", "salad"]