Splunk Search

Multiline table column header

yumlu
Engager

I have a table that has long column headers. Can i make these headers multi-line formatted?

old table headers:
Service Name Operation Name Request Count Success Count System Fault Count

my goal:
Service Operation Request Success System
Name Name Count Count Fault
Count

Tags (3)
0 Karma

woodcock
Esteemed Legend

I couldn't find any way to force Splunk to accept newlines inside field names so this is as good as I could get; tack this on to the end of your search:

... | rename "Service Name" AS "Service" "Operation Name" AS "Operation" "Request Count" AS "Request" "Success Count" AS "Success" "System Fault Count" AS "System" | append [search index=* | head 1 | stats count | eval "Service" = null() | eval "Operation" = null() | eval "Request" = null() | eval "Success" = null() | eval "System" = "Count" | fields - count] | append [search index=* | head 1 | stats count | eval "Service" = "Name" | eval "Operation" = "Name" | eval "Request" = "Count" | eval "Success" = "Count" | eval "System" = "Fault" | fields - count] | reverse
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...