Query checking difference of two terms in a log

See How to calculate duration in aggregation?

1 Like