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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...