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 | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...