Splunk Search

How to arrange table columns?

spatt
New Member

How do i print the following

service  status  count

Gmdl        200      5

Aesp         200      13

abc           200       8

aesp        501       61

abc            501       22

Gmdl         400       11

 


as

                200        400     501

gmdl      5               11        0

aesp       13             61       0

abc          8              0          22

 

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @spatt ,

instead using:

<your_search>
| stats count BY service status  

use

<your_search>
| chart count OVER service BY status  

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Splunk Certification Support Alert | Pearson VUE Outage

Splunk Certification holders and candidates!  Please be advised of an upcoming system maintenance period for ...

Enterprise Security Content Update (ESCU) | New Releases

In September, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...