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!

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 ...