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
Get Updates on the Splunk Community!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...