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
Legend

nice done ...

0 Karma

MuS
Legend

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
Legend

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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...