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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...