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!

Index This | Why did the turkey cross the road?

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

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...