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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...