Dashboards & Visualizations

Change dashboard to app default page

leochan
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)
1 Solution

stephanefotso
Motivator

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

View solution in original post

stephanefotso
Motivator

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

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

leochan
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

ppablo
Retired

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!

0 Karma

MichaelPriest
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

MichaelPriest
Communicator

@leochan is everything working for you know?

0 Karma

satishclarios
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

leochan
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

MichaelPriest
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

leochan
Explorer

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

0 Karma

MichaelPriest
Communicator

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

0 Karma
Get Updates on the Splunk Community!

Get ready to show some Splunk Certification swagger at .conf24!

Dive into the deep end of data by earning a Splunk Certification at .conf24. We're enticing you again this ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...