Dashboards & Visualizations

splunk free default app

albertohontoria
Path Finder

Hi friends

I have been unable to show the customer a default app in splunk 6 free license. I have tried all answers in the knowledge base without success. All user-prefs are modified but everytime the user logs in it goes to search app

Why can this be happening? Any clue?

Thanks in advance

Tags (4)
0 Karma
1 Solution

albertohontoria
Path Finder

I finally found the solution or workaround. Is documented in this page

http://answers.splunk.com/answers/103388/splunk-behind-proxy-returning-wrong-context-path-with-303

I have had to make also the following change in order to work, as i have updateCheckerBaseURL disabled. But it works!!

            if not updateCheckerBaseURL:
                return self.redirect_to_url(return_to)
   #             return self.redirect_to_url('/app/%s' % splunk.getDefault('namespace'))

Thanks all

View solution in original post

0 Karma

albertohontoria
Path Finder

I finally found the solution or workaround. Is documented in this page

http://answers.splunk.com/answers/103388/splunk-behind-proxy-returning-wrong-context-path-with-303

I have had to make also the following change in order to work, as i have updateCheckerBaseURL disabled. But it works!!

            if not updateCheckerBaseURL:
                return self.redirect_to_url(return_to)
   #             return self.redirect_to_url('/app/%s' % splunk.getDefault('namespace'))

Thanks all

0 Karma

MuS
SplunkTrust
SplunkTrust

nice done ...

0 Karma

MuS
SplunkTrust
SplunkTrust

Hi albertohontoria,

user authentication and role management is disabled with the free license, so how can this user login?

For more details see the docs about What is included with Splunk Free

cheers, MuS

0 Karma

MuS
SplunkTrust
SplunkTrust

sounds like some splunk session handling.....here is another unanswered question regarding the same problem http://answers.splunk.com/answers/131887/free-login-return-url-does-not-work

0 Karma

albertohontoria
Path Finder

Splunk free license doesn´t have users, but it makes an automatic login redirecting the user. See this example

http://splunk.metro.es/en-US/app/METRO_BILBAO/

302 to http://splunk.metro.es/en-US/account/login?return_to=%2Fen-US%2Fapp%2FMETRO_BILBAO%2F

302 to http://splunk.metro.es/en-US/app/search

The first access to the app it goes to search app, but if you go again to the same url (http://splunk.metro.es/en-US/app/METRO_BILBAO/) it works correctly. It happens only the first time when splunk 302 redirects to accoung/login

Any clue?

Thanks again

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...