Hi;
I've converted my dashboards for a single app to HTML. I then wanted the apps Nav to look nice so it would display "Tyler's Dashboard" instead of tylers_dashboard, so I did commands like this in my nav:
<a href="tylers_dashboard" >Tyler's Dashboard</a>
<a href="tylers_dashboard2" >Tyler's Dashboard Part 2</a>
Now, my problem is setting one of the dashboards as the default dashboard for my app. I've tried things like:
<a href="tylers_dashboard" default="true">Tyler's Dashboard</a>
or
<a href="tylers_dashboard" default='true'>Tyler's Dashboard</a>
but that doesn't do anything. Now I'm currently stuck with:
<view name="tylers_dashboard" default='true'/>
but this displays tylers_dashboard as the title in my name and not the actually title on the dashboard which looks a lot cleaner and professional.
I've seen this situation all over Splunk answers but no one has mentioned a fix:
http://answers.splunk.com/answers/122916/html-as-default-view-in-app-how-do-i-control-the-label-in-n...
http://docs.splunk.com/Documentation/Splunk/6.2.3/AdvancedDev/BuildNavigation in the comments section
Any suggestions?
Thanks,
Tyler
Tyler's Dashboard can't be a view name. Only alphanumeric ASCII characters, '-' and '_' are allowed for a view name. What you need is not yet possible, unless you use a Django app where you could be able to do something like this <a href="/dj/redirector/Steph_Django_app/Tayler_Dashboard">Tyler's Dashboard</a>
.
Thanks
To be clear Tyler's Dashboard does work to give a correct label. It's now setting that as my default dashboard of the App that's the problem.
Although you're answer has inspired me to just rename the my html name cleaner user '-'. Tyler-s-Dashboard, which works for now so thank you. And i do appreciate you taking the time to answer this question. Although would be better if I could achieve the ultimate goal.