Splunk® Enterprise

Developing Views and Apps for Splunk Web

Download manual as PDF

This documentation does not apply to the most recent version of Splunk. Click here for the latest version.
Download topic as PDF

Customize the login page

Add custom text to the login page

You can customize the Splunk Web login page with plain or HTML formatted text. Use the login_content option to add custom text to the settings stanza in web.conf. Follow the syntax shown here.

login_content = <content_string>

Restart the splunkweb process after editing web.conf to make the text visible.

Note: Text and formatting can be no longer than one line in web.conf, as shown in the example below.

Example

[settings]
login_content = This is a <b>production server</b>.<br>For expensive searches try: <a href="http://server2:8080">server2</a>

For more information, see the web.conf spec file in the Admin Manual.

PREVIOUS
Customization options and caching
  NEXT
Customize dashboard styling and behavior

This documentation applies to the following versions of Splunk® Enterprise: 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.3.4, 6.3.5, 6.3.6, 6.3.7, 6.3.8, 6.3.9, 6.3.10, 6.3.11, 6.3.12, 6.3.13, 6.3.14, 6.4.0, 6.4.1, 6.4.2, 6.4.3, 6.4.4, 6.4.5, 6.4.6, 6.4.7, 6.4.8, 6.4.9, 6.4.10, 6.4.11


Comments

Hi Smitra splunk,
I will follow up with you directly over email to get more details and provide some suggestions.

Thanks!

Frobinson splunk, Splunker
June 22, 2016

Is there a way to add custom text in the black-colored navbar-splunkbar at the top of the main page after login ? This is to display something similar to the login_content, example the environment name like TEST, PROD etc. (In case friendly dns names and virtual IPs from the URL are not available to figure out what instance we are logged in to.)

Smitra splunk, Splunker
June 20, 2016

The background graphic for the Splunk Lite login screen is located here:
C:\program files\Splunk\share\splunk\search_mrsparkle\exposed\img\skins\default\lite_login_bg.png but is marked as read-only by default.

Mdpclark
February 18, 2016

Hi Nsmalley splunk,
Thanks for your comment. We do not recommend or document custom login screen images as they are not currently supported.

Frobinson splunk, Splunker
January 13, 2016

In order to add a company image below UserName / Password/ Login - upload the .png to $SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/img/skins/default/
and add the following to your $SPLUNK_HOME/etc/system/local/web.conf
[settings]
login_content = <img src="/static/img/skins/default/<name_of_company_logo>.png" height="<number>" width="number">
***NOTE THIS WILL BE REMOVED DURING AN UPGRADE OF SPLUNK - remember to copy .png off and replace after upgrade. ***

Nsmalley splunk, Splunker
January 11, 2016

Was this documentation topic helpful?

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

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

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