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!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...