Security

How can I customize login screen beyond messages by login_content?

melonman
Motivator

Hi there,

I added customized message and image to the login screen by setting login_content parameter in web.conf. However, I need to customize the login screen beyond just adding messages.

http://www.splunk.com/base/Documentation/4.1.5/Developer/CustomizeLogin

As I saw the documentation above, I could not find any information about customizing login screen. Is there any customization option for login page?

Thanks!

Tags (1)
1 Solution

dwaddle
SplunkTrust
SplunkTrust

What you see in the docs is the official/supported login screen customization.

For the brave, you can edit the login html page directly - http://answers.splunk.com/questions/6358/can-i-change-the-splunk-login-page . Obviously, this could break things in unexpected ways and cause you support headaches down the road.

Additionally, you can turn off the "update checker" on the login panel - see http://answers.splunk.com/questions/2343/how-do-i-disable-the-display-of-release-messages-on-login-p...

View solution in original post

asetyyli
Explorer

You can extend the official login screen customization by using the login_content parameter in web.conf to include inline JavaScipt into the page. The JS is evaluated at page load and it can make arbitrary changes to the page.

For example to change the background color, put in $SPLUNK_HOME/etc/system/local/web.conf

[settings]
login_content=

0 Karma

dwaddle
SplunkTrust
SplunkTrust

What you see in the docs is the official/supported login screen customization.

For the brave, you can edit the login html page directly - http://answers.splunk.com/questions/6358/can-i-change-the-splunk-login-page . Obviously, this could break things in unexpected ways and cause you support headaches down the road.

Additionally, you can turn off the "update checker" on the login panel - see http://answers.splunk.com/questions/2343/how-do-i-disable-the-display-of-release-messages-on-login-p...

piebob
Splunk Employee
Splunk Employee

yes, the first option dwaddle suggests does work, but it's important to understand that changes you make to the login.html will be overwritten every time you upgrade, so you'll have to make a copy of your edited login page and re-add it after every upgrade. it is also not guaranteed that the design of the login page html won't change, so you should make sure to check it out, especially after a major release upgrade (for instance to 4.2 when it comes out next year).

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...