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!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...