I want to calculate the download speed for each fetched transaction page in bytes per second.
transaction pages consist of login page(that has user login details) and openloan pages consist of documents. I want to have data in bytes per second
I have written the below query that gives me response time in second and i would like to add one more field here that would give me data in bytes per second for fetched transaction pages.
index=app_iis source=*Inetpub* (host=JTCOTWCEMPLW* OR host=JTCOTWCEMPPW* OR host=JTCEP1WPLOSW* OR host=JTCEP1WPPORW*) http_method=GET Uri="*LOSWeb*" Uri="*aspx*" Time_taken!="-"
|eval APClientSource=split(Uri,"/"), APClientName=mvindex(APClientSource,1)
|search APClientSource="Login.aspx" OR APClientSource="OpenLoan.aspx"
|eval "Time_taken(s)"='Time_taken'/1000
|bin _time span=5m |stats avg(Time_taken(s)) as avgURT,distinct_count(C_username) as usercount by host,APClientName,cs_uri_stem,_time
|eval avgURT=round(avgURT,0),StdevURT=round(StdevURT,0)
Which fields in your data tell you how much data is downloaded per response? Does this include headers? Are you interested in these?
I am trying to calculate it based on bytes_in and bytes_out information
|eval MB=((bytes_in+bytes_out)/1024)
|eval GB=(MB/1024)
will this query give me the download speed for each response.