Dashboards & Visualizations
Highlighted

Change dashboard to app default page

Explorer

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?

Labels (1)
Tags (3)
Highlighted

Re: Change dashboard to app default page

Communicator

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>
Highlighted

Re: Change dashboard to app default page

Explorer

Do I change the dashview in 'Navigation menu'? Currently they are shown as inline forms rather than panel.

0 Karma
Highlighted

Re: Change dashboard to app default page

Communicator

Yes you do, Have you got an example of what it's showing?

0 Karma
Highlighted

Re: Change dashboard to app default page

Explorer

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
0 Karma
Highlighted

Re: Change dashboard to app default page

Communicator

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.

0 Karma
Highlighted

Re: Change dashboard to app default page

Explorer

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>
0 Karma
Highlighted

Re: Change dashboard to app default page

Communicator

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

0 Karma
Highlighted

Re: Change dashboard to app default page

Communicator

@leochan is everything working for you know?

0 Karma
Highlighted

Re: Change dashboard to app default page

New Member

@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>
0 Karma