Splunk Search

Monthly reporting

ccntech
Explorer

I am trying to create a report that will show month over month reporting for web service average response time as a percentage against a threshold

sourcetype="web_logs" `web_resp_index` *
| bucket _time span=month
| stats count as total_count count(eval(resp_time>=500)) as fail_count count(eval(resp_time<500)) as success_count count(eval(resp_time=="")) as null_count by source _time
| eval success_percent=round((resp_count/total_count)*100,2)
| eval _time=strftime(_time, "%b")
| Fields - total_count fail_count success_count null_count


I now have :
source_timesuccess_percent
www1Jan94.6
www1Feb93.2
www1Mar94.3
www2Jan98.5
www2Feb92.4
www2Mar84
 
I am looking to transpose and group so that I have 1 row per source and monthly columns
SourceJanFebMar
www194.693.294.3
www298.592.484
Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| xyseries source _time success_percent

ccntech
Explorer

that worked perfectly!

Wow I cannot believe the power of the community.  you answered the post within about 5 minutes.

Thank you so much.

Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...