Hi All, I have created a timeseries DQL for a dashboard and I have got so far and I’m now stuck. I need it to look like the attached image.
I need it to show the average and maximum response times (using the elapsed field), per 30 seconds on a graph. Below is what I have so far, all I see in my results is one avg and max result (see attached image)
timeseries Response = avg(log.application),by: {elapsedMilliSeconds, content,event.original, application, actionname, sourcecontext, elapsed, timestamp, duration}
, interval:1m
| parse event.original, “”“LD '@t”:’ LD:time ‘,’ “”"
| filter application == “API”
| filter actionname == “ScreeningResultController.Get (NBS.AML.Screening.API)”
| filter sourcecontext == “Serilog.AspNetCore.”
| fields application, actionname, sourcecontext, toDouble(elapsed), timestamp, time, duration, elapsed, Response
| summarize round(avg(`toDouble(elapsed)`),decimals:2), round(max(`toDouble(elapsed)`),decimals:2)
| fieldsRename AvgSeconds=`round(avg(\`toDouble(elapsed)\`), decimals:2)`, MaxSeconds=`round(max(\`toDouble(elapsed)\`), decimals:2)`


