Splunk Cloud Platform

Custom Pie Chart

saibal6
Path Finder

I have  a requirement where I have to show a pie chart which shows pending/opened/assigned service request from last Feb to till now but the time span should be 40, as well as which services are older than 80 days. it will come in ">80" legend. Like in this way only (0-40, 40-80, >80)

 

My Search query is : 

index a
| table a b c d        [a b c d stands for a=user, b=date, c=service request number and d=days]
| chart count(c) by d span=40  

 

My Output :

days                 count(number)
0-40                          3111
40-80                       2252
80-120                      478
120-160                 2757


But I want my output in manner :
days                 count(number)
0-40                          3111
40-80                       2252
>80                           3235 (478+2757)

 

Is it possible to get my desired output in the pie chart?

Please give me an example with a search query if we can do that. 

Labels (1)
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!

Meet the .conf26 AI Agent Buildathon Winners

At the .conf26 AI Agent Buildathon, Splunk users turned their operational expertise into working AI agents ...

Trusted Autonomy in the SOC: A Maturity Journey

AI is compressing attacker timelines and pushing SOC teams beyond human capacity thresholds. The next SOC ...

Supercharging Windows Security Detection Performance: Introducing Hybrid Field ...

Windows event logs—from Security auditing and Sysmon to PowerShell script blocks—form the operational backbone ...