Splunk Search

Single-value visualizations

robK123
Explorer

I have a single value search that I have added to my dashboard I want it to change colour and have added this to the end of the search but the number does not change colour why does this not work?

rangemap field=count low=0-2 elevated=3-6 default=severe

Tags (1)
0 Karma
1 Solution

jonuwz
Influencer

Try this

  1. Go to Manager >> User interface >> Views and select the view you want to edit.

  2. For the single value panel that uses the rangemap search, include the following line underneath the tags:

    range

as documented here

View solution in original post

jonuwz
Influencer

Try this

  1. Go to Manager >> User interface >> Views and select the view you want to edit.

  2. For the single value panel that uses the rangemap search, include the following line underneath the tags:

    range

as documented here

robK123
Explorer

OK Thanks!

0 Karma

jonuwz
Influencer

Thats how it works in v4, single value changed in v5 to have the text change color instead.

0 Karma

robK123
Explorer

Thanks that worked, but it changes the background of the panel with the text in I thought it would just change the colour of the number?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...