Hi Friends,
I have a web transaction is my apache logs as follows - ( Sample). and I need to calculate the response time for this transaction over time
121.12.23.34 - - [20/Dec/2013:23:26:27 +0000] "GET /my/web/transaction?Id=11&access_token=s3am09l3&locale=en_US&locale=enUS HTTP/1.1" 200 471 "-" "-" "-" "name.app.id/2497 (unknown, iPhone OS 7.0.2, iPhone, Scale/2.000000)" "domain.host.com" "-" 1376 4233 0
I tried doing following -
rex "\id" (?P<fieldname1>[^ ]+)\s+(?P<fieldname2>[^ ]+)\s+(?P<resp_time_micro>.+)" | eval time_millis=ROUND(RESP_TIME_MICRO/1000,2) | timechart span=1h avg(RESP_TIME_MICRO) as Avg_Res_Time, perc95(RESP_TIME_MICRO) as 95th_Percentile, max(RESP_TIME_MICRO) as Respmax, count as calltot
but it is not listing the response time.
Can someone please help? Thanks in advance!