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!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...