Hi,
We are currently upgrading our Splunk to 6.5.2 version. We had some customizations in the login page previously and we would like to bring them back. Using the docs, we were able to bring back the custom background and logo. We need further customizations on the appearance of the text boxes, button, etc. We want to add our custom CSS for doing the same but we are unable to figure out where to place the CSS so that it gets applied to the login page. Any pointers to this will really help.
Thanks,
Keerthana
@keerthana_k , Splunk Login Page Customization details are listed in the following Splunk Documentation: http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/CustomizeLogin
You can open Dev tools in your browser, look at page assets and find the name of the css file you want to edit, then search the filesystem for it.
Custom Stylesheet should be placed for specific app under appserver/static folder. Following is the path: $SPLUNK_HOME/etc/apps/<YourAppName>/appserver/static
Depending upon whether you want to apply CSS to specific Dashabord or all you can either create any CSS file and refer in your dashboard using
<dashboard stylesheet="<yourStyleSheetName.css>">
Or
<form stylesheet="<yourStyleSheetName.css>">
If you want to apply your CSS changes to all dashboards in your app, you should be creating a CSS file called dashboard.css and place the same in appserver/static folder as mentioned above.
Refer to the following Splunk documentation: https://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/UseCSS
You can also refer to Custom Layout Example: Dark example in the Splunk 6.x Dashboard Examples app from Splunkbase.
This works for dashboards inside an app. We want to customize the login page using CSS. I don't think your answer caters to our requirement.
@keerthana_k, I have converted my answer to comment so that it flashes for others as unanswered.
@keerthana_k... have you checked following Splunk Answers? seems like it is login.css which needs to be updated : $SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/css/login.css
https://answers.splunk.com/answers/59008/change-the-login-page-and-master-page-of-splunk.html
Also for Splunk login customization all configurations have been listed on Splunk Documentation link: https://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/CustomizeLogin