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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...