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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...