A WHERE clause filters stream-query records by evaluating a predicate against event values. In a stream processor, it narrows an aggregate or selection to matching events. section 8.3
Filter positive random values
SELECT unix_timestamp(), count(rand_value) FROM TAG:'random-num' WHERE rand_value > 0; produces a timestamp and counts records whose rand_value is greater than zero. section 8.3
Run the configured stream processor with Fluent Bit after pointing the service configuration at the query file; output includes the filtered task's count result.






