Hello Splunkers,
I am developing dashboards in a Splunk instance which I don't manage, so I have little room for adding custom js, and frankly neither do I want to work with CSS and js, to keep things easily movable.
I have a table where the value of one field/column determines the overall status of the row, and I have a colour palette doing what I need it to do. This works fine; high values are red, low are green.
However, I would ideally like to be able to change the colouring of other columns based on the same field. I could not find any documentation stating that "value" is the only variable available to the expression in ``. My question then is: **can I refer to the whole row or other fields in the colorPalette expression for a given column?** I tried the usual suspects like `row.` or simply ``, but to no avail.
So, can this be done? Or is the colouring evaluated purely in the context of a single cell? Does anybody know if Splunk is going to introduce explicit row colouring at one point?
Actually another use case for what I'm asking is if one wants to colour a column or columns based on another field that is not even displayed - for example when you have a calculation that determines some internal "score" value, which in itself is of no interest to the user.
Many thanks,
Wojciech
↧