Security

Add text to login page (web.conf), restart needed?

mkelderm
Path Finder

I know you can add custom HTML in the web.conf (login_content) but IMHO, SplunkWeb needs a restart. Can you add a custom message without restart?

0 Karma
1 Solution

cmeinco
Path Finder

post login, you can use messages to be displayed to users. I do this to inform users of outages, planned changes, etc.

http://docs.splunk.com/Documentation/Splunk/5.0.4/RESTAPI/RESTsystem#messages

Use something like:

curl -k -u adminuserid https://splunk.com:8089/services/messages \
-d name=message \
-d value="[$(date)] Notice Servers being rebooted at 3PM. Contact cmeinco with any questions or concerns."

Note: curl will prompt for the user password, instead of running with your pwd on the command line

Then after the change, i clear the message from the search head, since only admins can do this.

Good luck.

View solution in original post

cmeinco
Path Finder

post login, you can use messages to be displayed to users. I do this to inform users of outages, planned changes, etc.

http://docs.splunk.com/Documentation/Splunk/5.0.4/RESTAPI/RESTsystem#messages

Use something like:

curl -k -u adminuserid https://splunk.com:8089/services/messages \
-d name=message \
-d value="[$(date)] Notice Servers being rebooted at 3PM. Contact cmeinco with any questions or concerns."

Note: curl will prompt for the user password, instead of running with your pwd on the command line

Then after the change, i clear the message from the search head, since only admins can do this.

Good luck.

ChrisG
Splunk Employee
Splunk Employee

You will have to restart, see the first paragraph in Customize the login screen in the documentation.

0 Karma

somesoni2
Revered Legend

Any changes to .conf file directly would require a restart.

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...