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!

Splunk App for Anomaly Detection End of Life Announcment

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...