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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...