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!

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Announcing the General Availability of Splunk Enterprise Security 8.1!

We are pleased to announce the general availability of Splunk Enterprise Security 8.1. Splunk becomes the only ...

Developer Spotlight with William Searle

The Splunk Guy: A Developer’s Path from Web to Cloud William is a Splunk Professional Services Consultant with ...