Splunk Search

How do I extract value from stats list

apichai32356
Explorer

I want to extract count from list (picture 1 ) to table (picture 2) How do  I  do?

 

 

 

 |stats count by  Name,severity |sort - count | stats list(severity) as severity, list(count) as count, sum(count) as Total by Name 
| sort -Total

 

 

The field severity is follow by name the count for each level inside severity

apichai32356_0-1624565098885.png

apichai32356_1-1624565112484.png

 

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
| chart count by Name,severity
| addtotals

View solution in original post

apichai32356
Explorer

Ok, now I know the error point thank you Mr.ITWhisperer .

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| chart count by Name,severity
| addtotals

apichai32356
Explorer

I have try, but the information are inaccurate 

apichai32356_0-1624567815751.png

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| stats count by Name,severity
| xyseries Name severity count
| addtotals
0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

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

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...