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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...