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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...