Dashboards & Visualizations

How to set different Trend colors in single value dashboard?

impurush
Contributor

Hello Splunkers,

I am trying to change the color of the Trend symbol in the single value dashboard.
As per Splunk docs, if it is positive then green else red. So, I need to change the color instead of red.

I have read the answer which the color of the single value can be changed based on the trend percentage, but it does not change the color of the trend.

https://answers.splunk.com/answers/659702/how-to-configure-single-value-dashboard-color-base.html

Any help here much appreciated, thank you and happy splunking.

Regards,
Purush

0 Karma

impurush
Contributor

alt text

I have two requirements, if either one works, that is fine for me.
1. I want to change the red color to a different color when it is negative.
2. I want to set the range of colors to a Trend based on the values.

0 Karma

niketn
Legend

@impurush I have provided both the answers mentioned in the post. Both answers do not override the color of trend. If you need to do the same what is your requirement to color the trend? Please add more details for your use case for the community to assist you better.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

impurush
Contributor

I have posted the reply below, any leads are appreciated.

0 Karma

marycordova
SplunkTrust
SplunkTrust

can you post your dashboard html and a screenshot of what you are trying to do, also take a look at this post changing both the value and the trend:

https://answers.splunk.com/answers/583539/can-we-set-two-different-colors-for-single-value-a.html

@marycordova
0 Karma

impurush
Contributor

I have posted the reply below, any leads are appreciated.

0 Karma
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...