Hi Nickhill!
Greetings for the day!!!.
Search I'm using now :
sourcetype="app_log" | rex field=_raw ".serviceCall=(?\w+)(?:[^=\n]=){3}(?P\d+)." | stats count,avg(time_ms) AS Avg_time_ms by serviceCall | eval Avg_timetaken_ms=round(Avg_time_ms,2) | sort -Avg_time_ms
Current Output for last 15 mins :
serviceCall count Avg_timetaken_ms
getBookInfo 4 340.75
getPenInfo 4 232.00
addBookInfo 1 191.00
addPenInfo 3 70.67
Now I'm trying to get avgerage time per day
Expected out put :
serviceCall Avg_time_ms_03/08 Avg_time_ms_03/07 Avg_time_ms_03/06 ......so on
getBookInfo 340.75 320.00 310.00
getPenInfo 232.00 250.25 280.23
addBookInfo 191.00 180.25 195.45
addPenInfo 70.67 65.24 68.55
After this I want to compare these each serice avg rsponse time with two different time period..
like.... I want to compare getBookInfo avg_response of this month with previous month, and I want to show difference in next coloumn.
... View more