where
Keeps only events for which the given predicate is true.
Description
The where
operator only keeps events that match the provided predicate and
discards all other events. Only events for which it evaluates to true
pass.
Examples
Keep only events where src_ip
is 1.2.3.4
:
Use a nested field name and a temporal constraint on the ts
field:
Combine subnet, size and duration constraints: