Archive

add icon to app

Explorer

hi
i have problem to add icon to my app,i put it in path C:\Program Files\Splunk\etc\apps\WAF\appserver\static
but it doesn't show my app icon any more

alt text

Tags (1)
0 Karma
1 Solution

SplunkTrust
SplunkTrust

HI @khanlarloo,

To display an icon for your app:

  • Create the icon files below, in PNG format, preferably with 24-bit transparency.
  • Name the icon files as listed below. Filenames are case sensitive.
  • Save icon files to $SPLUNK_HOME/etc/apps/your_app_name/static/.

appIcon_2x.png (72 x 72)
appIcon.png (36 x 36)
appIconAlt_2x.png (72 x 72)
appIconAlt.png (36 x 36)
appLogo.png (160 x 40)
appLogo_2x.png (320 x 80)

For more information please check link.

http://dev.splunk.com/view/SP-CAAAE86#icons

Thanks

View solution in original post

Legend

@khanlarloo, the folder for icons should be $SPLUNK_HOME/etc/apps/WAF/static/ and not $SPLUNK_HOME/etc/apps/WAF/appserver/static. The appserver/static folder is for other static files to be uses within your Splunk App like JS, CSS and Image/Icon files to be used in Dashboards.

Please put under the $SPLUNK_HOME/etc/apps/WAF/static/ folder and confirm. You can also check with other Apps installed that have their App icons, that the icon files will be placed in similar hierarchy for them.

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

Explorer

tanx alot.it works now.

0 Karma

Legend

@Khanlarloo, I think you have accepted an answer already. Please up vote the others that helped. I think your issue was static path rather than appserver/static as stated here. I will convert my comment to answer.

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

Explorer

yes my issue was static path i put my icon in appserver/statis path instead of stati path.

0 Karma

SplunkTrust
SplunkTrust

HI @khanlarloo,

To display an icon for your app:

  • Create the icon files below, in PNG format, preferably with 24-bit transparency.
  • Name the icon files as listed below. Filenames are case sensitive.
  • Save icon files to $SPLUNK_HOME/etc/apps/your_app_name/static/.

appIcon_2x.png (72 x 72)
appIcon.png (36 x 36)
appIconAlt_2x.png (72 x 72)
appIconAlt.png (36 x 36)
appLogo.png (160 x 40)
appLogo_2x.png (320 x 80)

For more information please check link.

http://dev.splunk.com/view/SP-CAAAE86#icons

Thanks

View solution in original post