Splunk Search

Is there a Dashboard Studio widget to change background colors based upon query result (Yes / No)?

sjringo
Contributor

I have seen several posts asking similar questions but I am not that much of a UI guy so they do not make sense.

I have a Dashboard Studio, currently using a single value radial widget to display a Yes or No based upon a query.  I can post the query if its helpful but dont think it matters as the query just returns the string 'Yes' or 'No'

If the query result is Yes I want the widgets background Green, if No would like to display Red.

I am not comitted to a single value radial its just what I was able to get working.

Any suggestions on how to do this using a single value radial or a suggestion on a different widget to use and then how to change the background colors ?

{

    "type": "viz.singlevalueradial",

    "title": "Non-Cycle Delivery Met",

    "dataSources": {

        "primary": "ds_3T2iIKSr"

    },

    "encoding": {},

    "options": {

        "backgroundColor": "#ffffff"

    },

    "showLastUpdated": true,

    "context": {},

    "showProgressBar": false

}

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...