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 (4)
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!

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...