Dashboards & Visualizations

Why does my app redirect to http://localhost:8000/en-US/app/APP_NAME/_admin when I click on the logo

Will_Hayes
Splunk Employee
Splunk Employee

Not sure what I did but some reason when I click on the app logo of my app it redirects me to:

http://localhost:8000/en-US/app/SplunkforPaloAltoNetworks/_admin

instead of just

http://localhost:8000/en-US/app/SplunkforPaloAltoNetworks/

What is _admin and what did I do to cause i?

Tags (3)
0 Karma

sideview
SplunkTrust
SplunkTrust

Clicking the logo will always take you to the app's default view.

However if you never set a default view in the nav file (/nav/default.xml), then it'll take you to the first view, sorted alphabetically.

unfortunately that view is always "_admin", which is a weird little view used in Manager that nobody is supposed to ever see.

so you've figured it out already but the answer is to mark one of the views in default.xml with default="True"

Will_Hayes
Splunk Employee
Splunk Employee

So the reason for this is I didn't have a default view set in the nav XML. I actually did have one set but since I prefer using href's instead of the view tag the above was happening. Switching to view tags for just y default view fixed the issue.

Get Updates on the Splunk Community!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...