Splunk Enterprise

How to achieve single table with separate column for each field entry?

tlmayes
Contributor

I am working producing a table that calculates the number of incidents resolved by each analyst. 

What my query does is produces a table with three columns with a count of 'Class Names':
Analyst / Class Name / count

What I am trying to do is produce an output with (4) columns with a count under the descrete columns and a total of the row to the right:
Analyst / Class Name 1 / Class Name 2 / Total Count (of all class names)

 

 

<query>
| table "Analyst" "Class Name"
| stats count by Analyst "Class Name"

 

 

 

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
<query>
| table "Analyst" "Class Name"
| chart count by Analyst "Class Name"
| addtotals

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
<query>
| table "Analyst" "Class Name"
| chart count by Analyst "Class Name"
| addtotals
0 Karma

tlmayes
Contributor

This, this resolution works

0 Karma
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...