Security

How to configure "guest" access to Splunk-Web with no password?

jbp4444
Path Finder

I'd like to open up some of Splunk-web for any user to access, e.g. so that they can see overall load/usage of a cluster of machines before trying to login to one.

One approach is to just create a new user with limited functionality -- guest -- and assign it a simple password that I hand out to everyone. This works, and I can assign it to default to a known app/dashboard, but seems kind of silly.

Is there a way to just open up Splunk-web, or specifically an app or dashboard, so that anyone can access it without typing in a username/password?

Tags (2)
1 Solution

jbsplunk
Splunk Employee
Splunk Employee

As far as I know, the latter choice of opening up Splunk web without having some form of authentication is not an option. You will need to go with the approach you mentioned first, creating the guest account. I would suggest you create a specific role that contains very limited capabilities associated with the role you've created for this guest user. I wouldn't be comfortable without allowing some level of authentication to track which users are performing particular actions.

View solution in original post

breyes_splunk
Splunk Employee
Splunk Employee

You can set enable_insecure_login=true in /etc/system/local/web.conf (create this file if it doesn't exist). You can then allow users to skip the login screen by placing the credentials into the url, e.g. http://localhost:8000/en-US/account/insecurelogin?username=guest&password=guest

thahn
Explorer

Just implemented this in my test setup, it does enable access to Splunk without the usual login prompt.

However: If you are using this option, make sure that you also only use https to access splunk. In case of http, the url parameters (username and password) are transmitted in clear text.

0 Karma

jbsplunk
Splunk Employee
Splunk Employee

As far as I know, the latter choice of opening up Splunk web without having some form of authentication is not an option. You will need to go with the approach you mentioned first, creating the guest account. I would suggest you create a specific role that contains very limited capabilities associated with the role you've created for this guest user. I wouldn't be comfortable without allowing some level of authentication to track which users are performing particular actions.

rroberts
Splunk Employee
Splunk Employee

If you're interested in a Kiosk type of dashboard check out...
http://docs.splunk.com/Documentation/Splunk/latest/Developer/3rdParty

0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...