Dashboards & Visualizations

How do you set the colour of a Single Value showing text?

sillingworth
Path Finder

My Single Value is showing text, not a number, so setting a colour range doesn't work, it always stays dark grey.

I've found answers to this that use classField, but Splunk tells me that's deprecated.

Is there another way to do this?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

We had the same problem. The classField option worked until we installed 6.5.2. Even though it's deprecated, we expect it to work correctly until removed.
Our workaround is to turn off the useColors option. Seems counter-intuitive, but it worked.

<option name="useColors">0</option>
---
If this reply helps you, Karma would be appreciated.
0 Karma

sillingworth
Path Finder

Ah, that's stopped it colouring the whole block, but now the text has turned dark grey.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

That didn't happen to us. Are you using <option name="colorBy">value</option> and <option name="colorMode">block</option>?

---
If this reply helps you, Karma would be appreciated.
0 Karma

sillingworth
Path Finder

Yep. What colour is your text and how do you set it?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Our text is white, which I understand is the default color.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...