Dashboards & Visualizations

Can you make a specific dashboard the default view when the user clicks on an app?

sochsenbein
Communicator

I know you can do the following in order to make a dashboard as the default view for an App:

<nav search_view="search" color="#ff9999">
    <view name="dashboards" default='true' />
</nav>

However, is there a way to make a specific dashboard the default view when the user clicks on the App? For example, if I have a dashboard titled "Total Sales".

I tried the following, but it does not work:

<nav search_view="search" color="#ff9999">
    <view name="Total Sales" default='true' />
</nav>
0 Karma
1 Solution

somesoni2
SplunkTrust
SplunkTrust

The view name should be set to the name of the dashboard as it appears on the URL (or in Settings), not the label or title of the dashboard. The name of the dashboard would be something without spaces. E.g. when you launch the dashboard, the URL will be like http(s)://<host:port OR domain name>/en-US/<app_name>/**<dashboard_name_is_here>**/..other stuff if any. Use the value **<dashboard_name_is_here>** in the default.xml.

View solution in original post

somesoni2
SplunkTrust
SplunkTrust

The view name should be set to the name of the dashboard as it appears on the URL (or in Settings), not the label or title of the dashboard. The name of the dashboard would be something without spaces. E.g. when you launch the dashboard, the URL will be like http(s)://<host:port OR domain name>/en-US/<app_name>/**<dashboard_name_is_here>**/..other stuff if any. Use the value **<dashboard_name_is_here>** in the default.xml.

sochsenbein
Communicator

Well...I feel dumb. Lol thanks, @somesoni2 I appreciate it!

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...