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!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...