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!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...