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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...