13 Oct 2023 05:14 PM
fetch logs , scanLimitGBytes: -1
|filter isNotNull(elapsed_time)
|summarize elapsed = round(avg(toDouble(elapsed_time)),decimals:3), by:{timestamp }
Solved! Go to Solution.
13 Oct 2023 06:40 PM
You can try the bin function: https://www.dynatrace.com/support/help/shortlink/dql-functions#bin
fetch logs , scanLimitGBytes: -1
|filter isNotNull(elapsed_time)
|summarize elapsed = round(avg(toDouble(elapsed_time)),decimals:3), by:{ bin(timestamp, 2h) }