Splunk Search

changing column name

mileven
Explorer

host=server| eval size = len(_raw) | eval DSize = round(size/1024,2)| chart count(counter),sum(DSize) as "Daily indexed in KB" over source

Is the query I have. It creates 3 colums as I want but the count(counters) is the middle column header and I want to change that to "Number of events" The rest of the query works just fine.

Tags (1)
0 Karma

mileven
Explorer

host=server | eval size = len(_raw) | eval DSize = round(size/1024,2)| chart count(counter) as "number of events" , sum(DSize) as "Daily indexed in KB" over source

Had the rename in the wrong part of the query.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...