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
Revered Legend

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
Revered Legend

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!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...