All Apps and Add-ons

Customize icon in Status Indicator from Awesome font icons library ?

pgadhari
Builder

I want to use "snowflake" icon in the status indicator visualization for my panel. I tried using the xml option for that, but the icon is not showing up. I referred below documentation to use the xml option :

https://docs.splunk.com/Documentation/StatusIndicator/1.3.0/StatusIndicatorViz/StatusIndicatorXML

<option name="status_indicator_app.status_indicator.fixIcon">snowflake</option>

for fixIcon option, accepted values says that "any fontAwesome icon name" can be used from fontawesome library. But when I specify that icon in xml option, it is not working. Link for the icon is - https://fontawesome.com/icons?d=gallery&q=snowflake

Please help me how to resolve this issue, if anybody has done it ?

Thanks
PG

0 Karma
1 Solution

niketn
Legend

@pgadhari Status Indicator Custom Visualization is built on top of version 4.5.0 which does not have the icon you are looking for.

As an alternate you can try out the unicode character: https://emojipedia.org/snowflake/
You can put this in front of your data so that it shows up in Status Indicator as static icon.

Following is an old answer with this approach on table, but you can try with Status Indicator as well: https://answers.splunk.com/answers/687734/how-do-you-add-buttons-on-table-view.html

| makeresults 
| fields - _time 
| eval data=random() 
| eval data="❄️ ".data 

Another alternate would be to use the Scalable Vector Graphincs app and build out Snowflake directly through SPL in the visualization alongside your data.

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

View solution in original post

niketn
Legend

@pgadhari Status Indicator Custom Visualization is built on top of version 4.5.0 which does not have the icon you are looking for.

As an alternate you can try out the unicode character: https://emojipedia.org/snowflake/
You can put this in front of your data so that it shows up in Status Indicator as static icon.

Following is an old answer with this approach on table, but you can try with Status Indicator as well: https://answers.splunk.com/answers/687734/how-do-you-add-buttons-on-table-view.html

| makeresults 
| fields - _time 
| eval data=random() 
| eval data="❄️ ".data 

Another alternate would be to use the Scalable Vector Graphincs app and build out Snowflake directly through SPL in the visualization alongside your data.

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

pgadhari
Builder

Thanks @niketnilay. I will try this out and revert.

0 Karma

pgadhari
Builder

This works great. Thanks @niketnilay. Answer accepted.

0 Karma

pgadhari
Builder

can someone reply on this please ?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...