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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...