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!

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