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!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...