I just stumbled on this looking for something else, and wanted to say you can dynamically colour both the background and the major value: "visualizations": {
"viz_UVeH0JP5": {
...
See more...
I just stumbled on this looking for something else, and wanted to say you can dynamically colour both the background and the major value: "visualizations": {
"viz_UVeH0JP5": {
"type": "splunk.singlevalue",
"dataSources": {
"primary": "ds_VyZ1EWbM"
},
"options": {
"majorColor": "> majorValue | matchValue(majorColorEditorConfig)",
"backgroundColor": "> majorValue | matchValue(backgroungColorEditorConfig)"
},
"context": {
"majorColorEditorConfig": [
{
"match": "NotDropped",
"value": "#2f8811"
},
{
"match": "Dropped",
"value": "#ffffff"
}
],
"backgroundColorEditorConfig": [
{
"match": "NotDropped",
"value": "#000000"
},
{
"match": "Dropped",
"value": "#2f8811"
}
]
}
}, You probably can't do it though the UI, though. I rarely use it, so I'm not sure.