Installation

How can I associate an icon with a custom Splunk application?

DTERM
Contributor

How can I associate an icon with a custom Splunk application?

Labels (1)
Tags (3)
1 Solution

callan_splunk
Splunk Employee
Splunk Employee

As of 6.0, the main app icon goes here (note the _2x version to support higher pixel density displays, such as apple's retina):

$SPLUNK_HOME/etc/apps/<app_name>/static/appIcon.png 36x36px
$SPLUNK_HOME/etc/apps/<app_name>/static/appIcon_2x.png 72x72px

This icon is displayed in the app menu:

$SPLUNK_HOME/etc/apps/<app_name>/static/appIconAlt.png 36x36px
$SPLUNK_HOME/etc/apps/<app_name>/static/appIconAlt_2x.png 72x72px

You can -optionally- place an app logo in the same path:

$SPLUNK_HOME/etc/apps/<app_name>/static/appLogo.png 160x40
$SPLUNK_HOME/etc/apps/<app_name>/static/appLogo_2x.png 320x80

For backwards compatibility with 5.x, you'll also want to follow lmurphey's instructions in his answer.

View solution in original post

callan_splunk
Splunk Employee
Splunk Employee

As of 6.0, the main app icon goes here (note the _2x version to support higher pixel density displays, such as apple's retina):

$SPLUNK_HOME/etc/apps/<app_name>/static/appIcon.png 36x36px
$SPLUNK_HOME/etc/apps/<app_name>/static/appIcon_2x.png 72x72px

This icon is displayed in the app menu:

$SPLUNK_HOME/etc/apps/<app_name>/static/appIconAlt.png 36x36px
$SPLUNK_HOME/etc/apps/<app_name>/static/appIconAlt_2x.png 72x72px

You can -optionally- place an app logo in the same path:

$SPLUNK_HOME/etc/apps/<app_name>/static/appLogo.png 160x40
$SPLUNK_HOME/etc/apps/<app_name>/static/appLogo_2x.png 320x80

For backwards compatibility with 5.x, you'll also want to follow lmurphey's instructions in his answer.

LukeMurphey
Champion

For 5.x, put a 36x36 file in the following path:

<app_name>/appserver/static/appIcon.png

For 6.x, you'll also need to follow callan's recommendation in his answer.

For more information, see the list of files recommended for apps.

LukeMurphey
Champion
0 Karma

LukeMurphey
Champion

@BP9906: I just opened a defect ticket with the docs team to get this corrected.

0 Karma

BP9906
Builder

Why doesnt the above answer not match the docs? The above works, the docs do not for Splunk v6. 🙂

http://docs.splunk.com/Documentation/Splunk/6.0.4/AdvancedDev/ShareYourWork

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...