Security

How to create a customized app which contains a login page with name and submit button?

saibhaskarammu
New Member

How can I create a customized app which contains a login page with name and submit button?

After hitting the submit button, it redirects to a page, displays date/time and login name.

0 Karma

ncrofts_splunk
Splunk Employee
Splunk Employee

You could tackle this by using a Reverse Proxy (Such as IIS or Apache) which has a customized logon page. That logon page would then Single Sign-in (SSO) you into Splunk, so you dont have to type a username in twice:

Details on how to configure this are here http://docs.splunk.com/Documentation/Splunk/6.3.1511/Security/HowSplunkSSOworks

Then when the user logs in, you could make it so they only get access to your specific App, or at least make it the default app depending on your use case and whether they would need to see other Apps or only this specific one.

To display the currently logged in user try using the rest API, something like this.

| rest /services/authentication/current-context | table username

0 Karma

jkat54
SplunkTrust
SplunkTrust

You're going to make your users log in twice? Why not use roll based access controls?

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 ...