Splunk Search

How to find top 10 URLs with high response time?

Devi13
Path Finder

Hello Team,

I need to have top 10 url's in the order of max average response time taken. Could you please help in that..

My base search:

index= host=  source=" "
| timechart span=1h  avg(response_time) by URL

Can we use limit command to get the top 10 URLs

Labels (1)
Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

The timechart command has a limit option.

index= host=  source=" "
| timechart span=1h limit=top 10 avg(response_time) by URL

 

---
If this reply helps you, Karma would be appreciated.

View solution in original post

Devi13
Path Finder

Hii, thank you soo so muchh. Yeah! it worked 

richgalloway
SplunkTrust
SplunkTrust

The timechart command has a limit option.

index= host=  source=" "
| timechart span=1h limit=top 10 avg(response_time) by URL

 

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...