Monitoring Splunk

Query to cumulate endpoint uri

saireddy
Loves-to-Learn Lots

How to get cumulate response times for below endpoint.  
Below is the query i tried. but need similar endpoints should be cumulated together instead of separate endpoint. 

| stats values(pod) as HOST count avg(ReqProcessTime) as Avg p90(ReqProcessTime) as "Percentile90" max(ReqProcessTime) as Max by endpointURI, servicename, ResponseCode

saireddy_0-1638790346200.png

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| eval endpointURI=replace(endpointURI,"[^/]+$","")
0 Karma

saireddy
Loves-to-Learn Lots

Thanks ,

 

Incase we if have static endpoint in the log. which is like below this is getting replaced by 
/services/renewals/".  

Original Endpoint - /services/renewals/renewaldetails


so, whenever there are common endpoints they should be added. if they are static it should display as is.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...