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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Mastering Threat Intelligence in ES 8.5, Splunk AI Assistant v2, and More from Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Break the Build: Inside the KubeDoom Lounge at .conf26

    You step up to the machine. The pixelated corridors of a certain 1993 FPS load in front of you, EMP Pulse ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...