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!

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...

Splunk AppDynamics Agents Webinar Series

Mark your calendars! On June 24th at 12PM PST, we’re going live with the second session of our Splunk ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...