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!

Building Reliable Asset and Identity Frameworks in Splunk ES

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

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...