Skip to content

Filters

Filters determine which events are processed by the feature. They support various operators and can be nested.

Basic Filter Structure

json
{
  "field": "event_name",
  "operator": "equals",
  "value": "login"
}

Supported Operators

  • equals - Exact match
  • in - Value in array
  • not_equals - Not equal to
  • contains - String contains substring
  • greater_than - Numeric comparison
  • less_than - Numeric comparison

Filter Examples

Single Event Filter:

json
{
  "field": "event_name",
  "operator": "equals",
  "value": "login"
}