Security

How do i change to logo in the Login page of Splunk 6.2

harshnagpal
Engager

I want replace the Splunk logo with our company logo on the login page of Splunk 6.2.
Can any one please help. This is very urgent.

Thanks in advance.

tred23
Path Finder

Any tips to change the log in page for 6.5.x?

0 Karma

mattymo
Splunk Employee
Splunk Employee
0 Karma

CaBa2000
Explorer

Hi.

Another 'dirty' Method, but using the 'official' way, edit the file web.conf located at
$SPLUNK_HOME/etc/system/local/web.conf:

Environment Information

login_content = <span style="font-size: 25px;">TEST Environment
<script>document.getElementsByTagName('body')[0].style.backgroundColor = 'white';
document.getElementById('brand').innerHTML='<span style="color: blue;">Company-Name-Logo-Whatever</span>'
</script></span>

Restart SPLUNKWEB - done.

Documentation concerning 'web.conf': http://docs.splunk.com/Documentation/Splunk/6.4.0/Admin/Webconf

Using JavaScript and 'innerHTML' that way could be 'dangerous' (Virus, etc.), you have complete control over the DOM:
you shall know what you do!

Regards,

CaBa2000

CaBa2000
Explorer

Works in Splunk 6.4.0 and 6.4.1 at least.

0 Karma

pwesterbeek
Engager

You can tweak the login screen somewhat. I will explain how to put a logo on the login-screen and change the background.

Disclaimer: It is you responsibilty if you make changes and something goes rotten! I am in no way responsible.
This said: backup everything you want to change!!

The logo and background image must be placed in /share/splunk/search_mrsparkle/exposed/img/
First change the file /share/splunk/search_mrsparkle/exposed/js/build/accountpage.js (back it up!!)

For putting a logo on the login screen choose an editor of your choice and search for :

*else if (model.serverInfo.isEnterprise()) { %>/n splunk>®/n \n Monitoring\n

0 Karma

starcher
Influencer

You can get the old login.css modification to work . But you have to start Splunk in legacy mode as you would if you want the Duo Two Factor authentication login plugin to work. http://docs.splunk.com/Documentation/Splunk/6.2.0/Admin/StartSplunk#Start_Splunk_Enterprise_on_Unix_...

n00badmin
Communicator

The official answer??

"Login page customization is no longer available
Login page customization is no longer available in 6.2. You can only modify the header and footer of the login page after an upgrade."

http://docs.splunk.com/Documentation/Splunk/6.2.0/Installation/Aboutupgradingto6.2READTHISFIRST

That being said...anything is possible...but looks like it's not supported.

mattymo
Splunk Employee
Splunk Employee

Upadting old answer from my old account:

https://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/CustomizeLogin

- MattyMo
0 Karma
Get Updates on the Splunk Community!

Why You Can't Miss .conf25: Unleashing the Power of Agentic AI with Splunk & Cisco

The Defining Technology Movement of Our Lifetime The advent of agentic AI is arguably the defining technology ...

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...