Back to Elasticsearch

Irate

docs/reference/query-languages/esql/_snippets/functions/examples/irate.md

9.4.0584 B
Original Source

% This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.

Example

esql
TS k8s | WHERE pod == "one"
| STATS irate_bytes_in = SUM(IRATE(network.total_bytes_in)) BY cluster, time_bucket = TBUCKET(10minute)
irate_bytes_in:doublecluster:keywordtime_bucket:datetime
0.076923prod2024-05-10T00:00:00.000Z
830.0qa2024-05-10T00:00:00.000Z
31.375staging2024-05-10T00:00:00.000Z
9.854545prod2024-05-10T00:10:00.000Z
18.7qa2024-05-10T00:10:00.000Z