Splunk Search

Adding IIS URI_Stem to timechart to track performance over time

JeffV
Explorer

I have a timechart that traffic volume over time and the top 15% of API performance times. I would like to add URI_Stem to the timechart so that I can track performance over time for each of my API calls. Not sure how that can be done.

| timechart span=1h count(_raw) as "Traffic Volume", perc85(time_taken) as "85% Longest Time Taken"

Example of table by URI_Stem

| stats count avg(time_taken) as Average BY cs_uri_stem | eval Average = round(Average, 2)
| table cs_uri_stem count Average
| sort -Average
| rename Average as "Average Response Time in ms"
Labels (2)
0 Karma

JeffV
Explorer

I think I got it.

| timechart span=1h perc85(time_taken) by cs_uri_stem
0 Karma

PickleRick
SplunkTrust
SplunkTrust

OK. One search creates a timechart, another calculates overall averages by some parameter. How would you want to add "fixed" statistics to timechart?

0 Karma

JeffV
Explorer

Sorry, I wasn't clear. I only need to add the URI_Stem (which is the URL of the API from IIS) to the timechart shown in the first query. I want to track time_taken (performance of the calls to different APIs our app is making) over time so I can see outlier periods. Hopefully this is clearer.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...