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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...