Dashboards & Visualizations

Can icons in network diagram viz like firewall change color?

datracy
New Member

I kind of need the icon to change color resembling certain devices.

I don't want to use the server for a firewall.

The customer wants the icons to change colors instead of just the text.

Tags (3)
0 Karma

danspav
SplunkTrust
SplunkTrust

Hi @datracy,

I'm a bit late in replying - but in case anyone else has this question - yes, you can set the color of icons.

You can add the field "color" to set the color of the from icon. You can set the color of the link by setting a "linkcolor" field.

Use hex colors or english words:  "red" or "#FF0000"

| eval color=case(value==0,"blue", value==1,"yellow",value==2,"green", 1==1, "red")

Hope that helps

 

0 Karma

msivill_splunk
Splunk Employee
Splunk Employee

If you are happy to play around with Scalable Vector Graphics then the Scalable Vector Graphics - Custom Visualization app might be something to consider. There are a number of examples within the app that show parts of images changing colour based on numeric thresholds.

0 Karma

efavreau
Motivator

Can the icons change color? Yes. Easy? Depends on a lot of detail you haven't provided.
- You can look into the Dashboard Examples App for ideas: https://yoursplunkaddress/en-US/app/simple_xml_examples/contents
- My go-to might be this one https://yoursplunkaddress/en-US/app/simple_xml_examples/simple_single_color
- or this one https://yoursplunkaddress/en-US/app/simple_xml_examples/custom_decorations
- You can use custom CSS with tokens to do it. Look into http://dev.splunk.com/view/webframework-developapps/SP-CAAAEQA and https://docs.splunk.com/Documentation/Splunk/7.3.1/AdvancedDev/UseCSS

Once you have a better idea of the question you want to ask, post another question to Splunk Answers saying what you have now and what you have tried so far.

###

If this reply helps you, an upvote would be appreciated.
0 Karma

datracy
New Member

Thanks for the response but I did explain it. I am trying to change the color of the icons in Network diagram Viz application. Specifically the firewall icon.

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@datracy

If they are icons (images) then find that image in <<YOUR_APP>>/appserver/* folder and replace it with your client's image. Just make sure about the size and pixel same as old image.

0 Karma
Get Updates on the Splunk Community!

Improve Your Security Posture

Watch NowImprove Your Security PostureCustomers are at the center of everything we do at Splunk and security ...

Maximize the Value from Microsoft Defender with Splunk

 Watch NowJoin Splunk and Sens Consulting for this Security Edition Tech TalkWho should attend:  Security ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...