Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

Color in a table based on cell values on 6.0

$
0
0

Does anybody know how to configure the necessary .js and .css in an app to color the backgrounds of cells in a table based on their values?

I found this great question/answer for coloring in cell background based on cell values: http://answers.splunk.com/answers/83206/color-in-a-table-based-on-values

But... it doesn't work in Splunk 6.0. And since I've recently upgraded Splunk, the solution no longer works on my server.

I was able to find that the files to modify are dashboard.js and dashboard.css, rather than application.js and application.css. So I've made copies of the files and renamed them, but now I get the following error when it tries to parse the dashboard.js:

Uncaught ReferenceError: Splunk is not defined dashboard.js:14
(anonymous function)

I'm a bit stuck and some guidance would be greatly appreciated.


Viewing all articles
Browse latest Browse all 13053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>