Dashboards & Visualizations

Changing the colour of a table cell depending on the numerical value

watsm10
Communicator

Hi Splunkers,

I have a simpleResultsTable module on an Advanced XML Dashboard that looks like this:


Users | User 1 | User 2 | User 3 | User 4 | User 5 | User 6 | User 7 |
Success % | 100% | 100% | 89% | 100% | 92% | 100% | 100% |
Fail % | 0% | 0% | 11% | 0% | 0% | 0% | 0% |

It is linked to a saved search which runs every hour. As you can see, "User 3" has a "Success %" of 89% and "User 5 has a "Success %" of 92%. I would like to assign a rule to the "Success %" row to change the colour of a single cell which is below 90% to red and a cell between 90%-95% to amber, while leaving the others above 95% as green.

Is there an easy way of implementing this?
Possibly an app, or coding Javascript?

Many thanks!

0 Karma

bmacias84
Champion

Yes it is possible. There is an app called rowcolorizer. It mostly a POC app, but it will get you most of the way there.

0 Karma

11001830
New Member

getting error message like "This app is currently not available..."
Any suggestions please...

0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

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 ...