Dashboards & Visualizations

How to display a static text or string in dashboard panel and change background color of same panel based on some value?

zeespl
Explorer

I want to have just static text or string in dashboard panel. The background color of same panel should change based on some other field value?

I can see there is one single digit panel but that display digit and change color based on that. I want text to be displayed instead of digit.

0 Karma

niketn
Legend

@zeespl please add more details on the query which fetches the single value and the value for its color.

Do add example of some sample data and expected behavior. Mock screenshot would also be useful for the community to assist you.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

zeespl
Explorer

I have two fields host and city. Host have two values, like x and y. I want x and y to be associated with background color.

So i want to create a panel where in center i just have the city name and its background color change based on x and y.

If it is x, background color should be green.
If it is y, background color should be orange.

Its easy to do it with single value panel. But that will show the digit and i want city name.

0 Karma

zeespl
Explorer

@niketnilay, Would you please advise on above details provided.

0 Karma

msivill_splunk
Splunk Employee
Splunk Employee

Some Custom visualizations from Splunkbase could help here

Either of the following should be able to do what you are asking for.

0 Karma
Get Updates on the Splunk Community!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...