31 May 2023 03:11 PM
Solved! Go to Solution.
01 Jun 2023 07:27 AM - last edited on 01 Jun 2023 12:07 PM by stefan_eggersto
Hi Stefan, the timeseries command produces an array of data points. If you need to aggregate these values, you can use one of the available array functions. In this case, it would be the arrayAvg function, like so:
timeseries cpu=avg(dt.host.cpu.usage), by:dt.entity.host
| fields cpu=arrayAvg(cpu), dt.entity.host