[[esql-example-queries]]

The following is an example ES|QL query:

```
FROM logs-*
| WHERE @timestamp >= NOW() - 15 minutes
| EVAL bucket = DATE_TRUNC(1 minute, @timestamp)
| STATS avg_cpu = AVG(system.cpu.total.norm.pct) BY bucket, host.name
| LIMIT 10
```
