Security

Change Logo on Login Screen

wildbill4
Path Finder

In an older version of Splunk I was able to change the "logo-mrsparkle.png" file to my logo and restart splunk and my logo changed on the login screen. Tried that with the 4.2 version with no luck. Does it still read the "/opt/splunk/share/splunk/search_mrsparkle/exposed/img/skins/default' for the logo?

Thanks,

Tags (1)
1 Solution

wildbill4
Path Finder

If you wish to change the Splunk Logo on the main auth page, simple replace this graphic;

$SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/img/skins/default/logo-mrsparkle.png

Be sure to restart Splunk to see changes.

View solution in original post

irfan123
Engager

but it's not working for version 6.1

skender27
Contributor

Hi,

here what I did for 6.1 version:
first copy your my_logo.png in this folder:
/opt/splunk/share/splunk/search_mrsparkle/exposed/img/skins/default

then create (if it doesn't exist) web.conf under:
etc/system/local

with this stanza:
[settings]
updateCheckerBaseURL = 0
login_content =

basically you can put any html syntax here.

hope it works for all you,
Skender K.

0 Karma

vcarbona
Path Finder

Here's another way - It doesn't require a restart:


* copy your logo file to $SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/img/skins/default

* cd $SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/css

* open login.css with your favorite text editor (ie. vi)

* Find #splunkLogo section and change the name of the graphic file if necessary

#splunkLogo {
    width:368px;
    height:200px;
    padding: 0;
    float:left;
    background: #fff url(/static/img/skins/default/mycompanylogo.png) no-repeat 65px 60px;
}
  • Save the file
  • Bring up the Splunk login screen in your Firefox browser and hit F5 and/or shift F5
  • Use firebug and select CSS. This will allow you to quickly preview your changes to login .css instantly. Edit the numbers after "no-repeat" to properly position your logo. The first number takes care of horizontal positioning and the second number takes care of vertical positioning.
  • Update the login.css file with those new numbers and save the file
  • Refresh your browser screen with F5 or shift F5
  • Enjoy your new custom logo!

jepoyyyy
Explorer

Very helpful thank you

0 Karma

wildbill4
Path Finder

If you wish to change the Splunk Logo on the main auth page, simple replace this graphic;

$SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/img/skins/default/logo-mrsparkle.png

Be sure to restart Splunk to see changes.

cjs226
Explorer

Can you please share?

0 Karma

wildbill4
Path Finder

I figured it out

0 Karma

Brian_Osburn
Builder

Can you provide information on what you did?

0 Karma

sympatiko
Communicator

share please

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Using the Splunk Threat Research Team’s Latest Security Content

REGISTER HERE Tech Talk | Security Edition Did you know the Splunk Threat Research Team regularly releases ...

SplunkTrust | 2024 SplunkTrust Application Period is Open!

It's that time again, folks! That's right, the application/nomination period for the 2024 SplunkTrust is ...