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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Get Agentic with Splunk Lantern: Connect to Cisco Cloud Control, Transform ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

July Community Events: Master ITSI 5.0 & Automate Splunk

Struggling with alert fatigue or feeling like you're spending more time on infrastructure maintenance than ...

New Release of Federated Search: Bringing Splunk Analytics to More of Your Data

Organizations today are generating more data than ever and storing it across cloud object stores, data lakes, ...