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!

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