Splunk Search

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

sjringo
Communicator

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!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...