Where Operator
Overview
Filter data with where
.
Examples
Example data
Filter for data from within the previous day
Filter data based on a condition:
clientIp | elbStatusCode | p_event_time | sentBytes | type |
---|---|---|---|---|
192.168.11.34 | 200 | 2024-08-12 18:55:09.673000 | 329 | https |
192.168.1.1 | 403 | 2024-08-12 18:55:08.673000 | 167 | https |
10.168.22.7 | 404 | 2024-08-12 18:45:09.673000 | 167 | https |
Filter by multiple conditions
Combine conditions with and
, or
and not
. Optionally group expressions with ()
to change operator precedence:
clientIp | elbStatusCode | p_event_time | sentBytes | type |
---|---|---|---|---|
192.168.11.34 | 200 | 2024-08-12 18:56:04.784000 | 329 | https |
10.168.22.7 | 404 | 2024-08-12 18:46:04.784000 | 167 | https |
Last updated