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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...