Splunk Search

How to use colors on Tree View

caioandrades
Loves-to-Learn Lots

Hi,

I'd like to know how can I apply colors on the icon according to range values on Tree View (custom viz).  The image bellow its the default visualization.

caioandrades_1-1602079354316.png

I would like some thing like this one: 

caioandrades_2-1602079582548.png

Since I want to put some parent-child relationship, I'm using this viz. I appreciate any help. 





Labels (1)
Tags (1)
0 Karma

danspav
SplunkTrust
SplunkTrust

Hi @caioandrades,

I'm the developer of the Treview Viz app. I've just posted an update to Splunkbase which will let you specify the color for custom icons and the label. It also works on the other skins, but it looks best on the custom skin.

With the update you can include an HTML color code in the "color" field like this:

| eval color=if(cpu>80,"#990000", "#009900")

danspav_0-1603432448426.png

You can download the new version from Splunkbase here: https://splunkbase.splunk.com/app/5101/

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...