Splunk Search

How to calculate response time for my sample data?

manjunathin
New Member
172.22.220.15 - XXX@XXX.com [05/Jan/2016:01:19:36 -0600] "GET HTTPS://XXX.allianceweb2.XXXX.com/AERWEB/dwr/interface/CheckPersonalizedOption.js;jsessionid=0000vYT... HTTP/1.1" 200 1319
Tags (2)
0 Karma
1 Solution

sundareshr
Legend

Try this, assuming the last for digits is response time,

.... | rex "\s(?<rt>\d+)$" | stats avg(rt) as response_time 

View solution in original post

0 Karma

sundareshr
Legend

Try this, assuming the last for digits is response time,

.... | rex "\s(?<rt>\d+)$" | stats avg(rt) as response_time 
0 Karma

manjunathin
New Member

Hi again,

Need your help agin in figuring on how to get the statistics related to uri_path,count,response time.

I have another field called as uri_domain which has HTTPS://XXXXXX.com, can i get statistics related to uri_path,count,response time .

Thanks for your help again.

Manjunath

0 Karma

sundareshr
Legend

You should post that as a different question with details on what type of stats you are looking for. From this question, it is unclear what stats you need (min, max, avg, sum, count, dc etc) There are several option. You can read about it here http://docs.splunk.com/Documentation/Splunk/6.1/SearchReference/Commonstatsfunctions

0 Karma

manjunathin
New Member

Thanks the link helped to get an answer

0 Karma

manjunathin
New Member

Thanks sundaresh, appreciate your quick help on this

0 Karma
Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...