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!

Splunk Forwarders and Forced Time Based Load Balancing

Splunk customers use universal forwarders to collect and send data to Splunk. A universal forwarder can send ...

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...

Last Chance to Submit Your Paper For BSides Splunk - Deadline is August 12th!

Hello everyone! Don't wait to submit - The deadline is August 12th! We have truly missed the community so ...