Dashboards & Visualizations

How to create Splunk table to piechart?

Marco_Develops
Path Finder

Currently, I have a Table that gives me Severity Categories. 

Sevcat I Sevcat II Sevcat III
5 10 12

 

I'm using the following SPL to generate this table:

 

|eval CATI = if(SEVCAT="I", 1,0) 
|eval CATII = if(SEVCAT="II", 1,0)
|eval CATIII = if(SEVCAT="III", 1,0)
|stats sum(CATI) as "Sevcat I" sum(CATII) as "Sevcat II" sum(CATIII) as "Sevcat III"
|table "Sevcat I" "Sevcat II" "Sevcat III"

 

Is there some way to convert this table into a piechart. 

Any help is appreciated 🙂
-Marco 

Labels (3)
0 Karma
1 Solution

somesoni2
Revered Legend

Give this a try

.. Your base search..
|eval SEVCAT = "Sevcat ".SEVCAT
| stats count by SEVCAT

View solution in original post

somesoni2
Revered Legend

Give this a try

.. Your base search..
|eval SEVCAT = "Sevcat ".SEVCAT
| stats count by SEVCAT
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 ...