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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...