Security

Change Logo on Login Screen

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

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

Engager

but it's not working for version 6.1

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

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!

Explorer

Very helpful thank you

0 Karma

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

Explorer

Can you please share?

0 Karma

Path Finder

I figured it out

0 Karma

Builder

Can you provide information on what you did?

0 Karma

Communicator

share please

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!