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!

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...

The Visibility Gap: Hybrid Networks and IT Services

The most forward thinking enterprises among us see their network as much more than infrastructure – it's their ...

Get Operational Insights Quickly with Natural Language on the Splunk Platform

In today’s fast-paced digital world, turning data into actionable insights is essential for success. With ...