Dashboards & Visualizations

Rangemap to apply colour to a range of values

rohit31dec91
Explorer

Hi,
Can any1 suggest how to apply color to a range of values using rangemap in splunk

Thanks.

0 Karma

shaileshv02
Explorer

Hi Hajime,
How can we configure css to see the colors on the dashboard

thanks in advance.

0 Karma

rohit31dec91
Explorer

thanx hajime,but the color does not appears i try running it,do we need to configure css or something ?

0 Karma

Hajime
Path Finder
0 Karma

shaileshv02
Explorer

Hi Hajime,
How can we configure css to see the colors on the dashboard thanks in advance

0 Karma

Hajime
Path Finder

Yes. You need to configure css.

0 Karma

Hajime
Path Finder

Hello,
I think the method described in the following documentation is good. (see Example 1)
http://docs.splunk.com/Documentation/Splunk/6.0.2/SearchReference/Rangemap#Examples

As a supplemental explanation, the following parameter's color is defined.

severe, high, elevated, guarded, low

They are defined the following CSS file.
$SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/css/skins/default/default.css

.SingleValue .severe .singleResult {
    color: #ff1f24;
}
.SingleValue .high .singleResult {
    color: #ff7e00;
}
.SingleValue .elevated .singleResult {
    color: #ffb800;
}
.SingleValue .guarded .singleResult {
    color: #4da6df;
}
.SingleValue .low .singleResult {
    color: #00b932;
}
0 Karma
Get Updates on the Splunk Community!

Accelerate Service Onboarding, Decomposition, Troubleshooting - and more with ITSI’s ...

Accelerate Service Onboarding, Decomposition, Troubleshooting - and more! Faster Time to ValueManaging and ...

New Release | Splunk Enterprise 9.3

Hi Splunky people! We are excited to share the newest updates in Splunk Enterprise 9.3!Admins and Analyst can ...

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...