I'm interested in coloring single value displays based on the text value of the single value, and/or based on a different value than the one displayed. I've seen the first part of this question around (at least [here][1] and [here][2]), but all answers point to range or rangemap and using deprecated features.
For example, for the following result:
text value
foo 12
I want the single value to display "foo" and choose a color based on the value 12.
Also, I am looking for a way to have the single value work with results such as
text value
foo severe
and use a color mapping from text to color, as in
The single value should use the color at the matching index to color "foo", or gray if none match (same behavior as with more rangeValues than rangeColors).
Better yet, I would like to provide a hex color value in spl:
text value
foo 0xd93f3c
that would then be applied to "foo" in the single value.
Is any of this possible without resorting to custom js/css?
[1]: https://answers.splunk.com/answers/103239/change-color-of-single-value-visualization.html?utm_source=typeahead&utm_medium=newquestion&utm_campaign=no_votes_sort_relev
[2]: https://answers.splunk.com/answers/525809/change-single-value-color-based-on-textual-value.html?utm_source=typeahead&utm_medium=newquestion&utm_campaign=no_votes_sort_relev
↧