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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...