Splunk Search

Highlight empty fields in color

Hema_Nithya
Explorer

How to highlight empty fields in the dashboard in colours . Simple step pls 

Labels (1)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

What is the visualisation you are using in the dashboard?

0 Karma

Hema_Nithya
Explorer

Dashboard, with search query which produces output table format.

0 Karma

bowesmana
SplunkTrust
SplunkTrust

Add the following format statement to your XML

<format type="color" field="Status">
  <colorPalette type="expression">case(match(value, "^$$"), "#FF00FF")/colorPalette>
</format>

and change the field name to your field and the colour value (#FF00FF) to the one colour you want

0 Karma
Get Updates on the Splunk Community!

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...