Splunk Search

How can I define column colors for a combination of fields?

Jaff
New Member

I need to colorize all the columns of a table, except the sole field whose name I know. Due to the large indeterminate collection of data combinations I am examining, I cannot know what names the fields which will be displayed can be. I need to have the first column NOT be colorized, but all the other columns SHOULD be colorized:

<format type="color" field="container">
  <scale type="linear"></scale>
  <colorPalette type="list">[#FFFFFF,#FFFFFF]</colorPalette>
</format>
<format type="color">
  <colorPalette type="sharedList"></colorPalette>
  <scale type="sharedCategory"></scale>
</format>

Unfortunately, the above results in ALL columns being colorized.

0 Karma

Jaff
New Member

Answer was to change the scale to "category" since field contained non-numeric data. Also, alternated colors in palette:

<format type="color" field="container">
  <scale type="category"></scale>
  <colorPalette type="list">[#FFFFFF,#DCDCDC]</colorPalette>
</format>
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, ...