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!

Catalog Is Now Generally Available on Splunk Cloud Platform

A Unified View of Your Data  Security logs, application events, business data, and historical telemetry often ...

Developer Spotlight with Eduard Lekanne

From Network Engineer to Building Agentic AI for Splunk Eduard Lekanne has been architecting technology ...

From Data Landing to Insight

Search Across More of Your Data Ecosystem The data you need may live in Splunk, high-volume machine data, ...