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

**Example**

```esql
TS k8s
| STATS max_cost=MAX(LAST_OVER_TIME(network.cost)) BY cluster, time_bucket = TBUCKET(1minute)
```

| max_cost:double | cluster:keyword | time_bucket:datetime |
| --- | --- | --- |
| 12.5 | staging | 2024-05-10T00:09:00.000Z |
| 12.375 | prod | 2024-05-10T00:17:00.000Z |
| 12.375 | qa | 2024-05-10T00:06:00.000Z |
| 12.375 | qa | 2024-05-10T00:01:00.000Z |


