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!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...