Customize the login screen

You can add a custom message to the login screen. Just add an attribute to web.conf to set a custom message. You can use HTML markup to format your message and add links. Restart the splunkweb process after editing web.conf to make your message visible.

Note: Make sure your message appears in a single line in web.conf, as shown in the example below.

Example

Add the following key to the [settings] stanza in web.conf located at:

Comments

The example by Kbains is great, but the logo location should be specified differently. I researched it and summarized on the community boards, here: http://answers.splunk.com/answers/209850/putting-a-custom-logo-on-the-login-screen.html

Re: Previous Comment. That was "When you use [lessthan]img src="image.png"[greaterthan],.... Nice that comments get stripped of code without warning.

Frankwayne

February 27, 2014

HOW do you add images using login_content? When you use , what is the path to the image relative to the application directory?

Frankwayne

February 27, 2014

Daniel333, you do need to restart Splunk Web for the customization to appear. For an alternate method to display custom login messages after login, you can use the REST API. See http://docs.splunk.com/Documentation/Splunk/6.0/RESTAPI/RESTsystem#messages as well as this Answers posting: http://answers.splunk.com/answers/111952/add-text-to-login-page-webconf-restart-needed.

Cgales splunk

December 11, 2013

Is there a way to do this without restarting splunk web?

Daniel333

December 11, 2013

Can you add a custom message without a restart?

Mkelderm

November 20, 2013

You can even add images like company logos to the login screen using the 'login_content' variable. A bit limited, but neat, none the less.

Customize the login screen

Enter your email address, and someone from the documentation team will respond to you:

Send me a copy of this feedback

Please provide your comments here. Ask a question or make a suggestion.

Feedback submitted, thanks!

You must be logged into splunk.com in order to post comments.
Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic.
If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk,
consider posting a question to Splunkbase Answers.

0
out of 1000 Characters

Your Comment Has Been Posted Above

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website.
Learn more (including how to update your settings) here »