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!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...