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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...