Dashboards & Visualizations

Visualization color issue

carlyleadmin
Contributor

Hi All,

First of all the version of the splunk we have in our environment is as follows;

Splunk Version
6.2.3
Splunk Build
264376

i do have a single line single number visualization dashborad.the problem is when i run them indivually i get the color coding but when it is on saved dashboard,coloring does not work

alt text

here are my queries for both searches;

1) failed diu

Message="failed to execute"|search Message >0 |stats count(eval(Message="failed to execute")) AS "Failed DIU" |eval Value = 500| rangemap field=Value none=0-99 low=100-199 guarded=200-299 elevated=300-399 high=400-499 severe=500-599 default=none

and i get the set color of red when i click on visualiztion(red)

2) successful diu
Message="was executed successfully"|search Message >0|stats count(eval(Message="was executed successfully")) AS "Successful DIU" |eval Value = 0| rangemap field=Value none=0-99 low=100-199 guarded=200-299 elevated=300-399 high=400-499 severe=500-599 default=none

and i get the set color of black when i click on visualiztion

any idea why the colors do not work when saved as one dashboard.

here is my source code as well if that helps

alt text

i have a test environment which the latest version of splunk is installed and all works as expected,but with different version i don't even have the UI option that i have on the latest version for coloring is not presented in 6.2 version

Thanks

Tags (1)
0 Karma
1 Solution

renjith_nair
Legend

For 6.2.0, try adding this to the options for both panels

<option name="classField">range</option>
---
What goes around comes around. If it helps, hit it with Karma 🙂

View solution in original post

0 Karma

renjith_nair
Legend

For 6.2.0, try adding this to the options for both panels

<option name="classField">range</option>
---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma

carlyleadmin
Contributor

That did it.Thank you Renjith

0 Karma

p_gurav
Champion

You can refer this app:
https://splunkbase.splunk.com/app/1603/

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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...