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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...