Is there a way to make a dashboard to become the default page for an app?
Currently the default page is 'search' and I have to click on 'Dashboards' > <dashboard title>. When I click on most of the app, it lands on the dashboard pages, perhaps I am missing something simple?
More specific, on Settings > User interface > Navigation menu
, First select the application on wich belong your view (App context)
, second click on default
and third ubdate your nav with the bellow code
<nav search_view="search" color="#65A637">
<view name="defaut_page_view_name" default="true" />
<view name="view1" />
<view name="view2" />
</nav>
More specific, on Settings > User interface > Navigation menu
, First select the application on wich belong your view (App context)
, second click on default
and third ubdate your nav with the bellow code
<nav search_view="search" color="#65A637">
<view name="defaut_page_view_name" default="true" />
<view name="view1" />
<view name="view2" />
</nav>
Yes this can be done, go to your app, settings > user interface > navigation menu and select the default. Then follow the instructions here:
http://docs.splunk.com/Documentation/Splunk/6.2.3/AdvancedDev/BuildNavigation
So it will be something like:
<nav>
<view name="NAME OF DASHBOARD" default='true' />
</nav>
Is it under Settings > User interface > Navigation menu? I have an App thats shows Panel by default rather than inline menus and they have identical code.
AppA
Navigation menu XML
<nav search_view="search" color="#666666">
<view name="error_monitor" default='true' />
<view name="search" />
<view name="reports" />
<view name="alerts" />
</nav>
AppB
Navigation menu XML
<nav search_view="search" color="#65A637">
<view name="dashboards" default='true' />
<view name="search"/>
<view name="data_models" />
<view name="reports" />
<view name="alerts" />
</nav>
Hi @leochan
Please be sure that when responding to someone's answer, click on "Add comment" directly below their answer or, if responding to someone's comment, type in the "Add your comment..." box directly below their comment. You keep typing your responses in the "Enter your answer here..." box at the very bottom of the page which, instead, posts a brand new answer each time.. This will help with a clean continuous flow of the conversation so others aren't confused who you're speaking to. I already converted your "answers" to comments, so just something to keep in mind from here on out. Thanks!
Yes it is. Is either App working?
Use double quotes " around the true instead of single quotes so:
<nav search_view="search" color="#666666">
<view name="error_monitor" default="true" />
<view name="search" />
<view name="reports" />
<view name="alerts" />
</nav>
This matches what I've got in mine, if it still isn't working you may have the name of your dashboard wrong
@leochan is everything working for you know?
@MichaelPriest I have the same issue even I updated the default view to go to some dashboard still it gets to search dashboard when hit on the app.
<collection label="Cb Defense Overview">
<view name="overview_dashboard" default="true"/>
</collection>
</nav>
Yup. This is what is in the dashboard tab now. When I click on the title "Linux::S", it brings me to the panel. I would like to be able to see the panel without clicking to the title. I think this can be fix in XML but it seems to be error-proning.
Title Actions Owner App Sharing
Linux::S Engine Q Disk Space Edit userA linux_s App
Linux::S Engine Q Stareng Edit userA linux_s Private
So in order to do what you want, follow the steps that myself and stephanefotso have posted above. Also you can check out the documentation that I've posted as well.
Do I change the dashview in 'Navigation menu'? Currently they are shown as inline forms rather than panel.
Yes you do, Have you got an example of what it's showing?