Splunk Enterprise Security

How to rename column name when using "chart count over by" command

saurabhsumangat
New Member

i written a query and need to change the output name of one the table column

....| chart count over sourceIP by Status

in this i get status result as

sourceIP Open Closed
xx.xx.xx.xx 2 5

How to change the name "Open and Closed" to "Pending and Completed" respectively

0 Karma
1 Solution

vnravikumar
Champion

Hi

Try like

....|eval Status=case(Status=="Open","Pending",Status=="Closed","Completed") |  chart count over sourceIP by Status

View solution in original post

vnravikumar
Champion

Hi

Try like

....|eval Status=case(Status=="Open","Pending",Status=="Closed","Completed") |  chart count over sourceIP by Status
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...