Dashboards & Visualizations

Apps default view - issue

roopeshetty
Path Finder

Hi Guys,
I have created an APP by name “WindowsInfra” on my cloud splunk. On this App I have created a dashboard by name “Bandwidth” and under this dashboard I have added 2 panels by name “Memory” and “CPU”.
Now whenever I open this APP this opens with the Dashboard which shows the title and then again I need to click on those dashboard title to see the panels.

This I got it done by editing the Navigation XML as below;

<nav search_view="search" color="#65A637">
<view name="search" />
<view name="datasets" />
<view name="reports" />
<view name="alerts" />
<view name="dashboards" default='true' />
</nav>

But what I want is, once I click on this APP this should directly open with the Panels (“Memory” and “CPU”) of dashboard “Bandwidth” as I have seen this in many APPs which was created by my previous employees. Can some one please guide me how to do this.

0 Karma

DavidHourani
Super Champion

Hi @roopeshetty,

You can find the guide for navigation menu configuration here :
http://dev.splunk.com/view/webframework-developapps/SP-CAAAEP9

In your case all you have to is add a line with your dashboard name and set it to default as follows :

 <view name="bandwidthDashboard" default='true' />

The name of the dashboard is not the one that is displayed under dashboard but the one you see in the url when you open the dashboard itself, for example here the dashboard name is DASHBOARD_NAME :
http://yoursplunkURL/en-GB/app/APPNAME/DASHBOARD_NAME

You can also find the name in settings under user interface -> views.

Let me know if that helps.

Cheers,
David

0 Karma

Vijeta
Influencer

@roopshetty Check the exact view name for this dashboard (bandwidth) under User Interface->Views for your app.
and add <view name=your view name default="true" /> under the navigation for this app.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try

<nav search_view="search" color="#65A637">
<view name="search" />
<view name="datasets" />
<view name="reports" />
<view name="alerts" />
<view name="dashboards" />
<view name="bandwidth" default='true' />
</nav>
---
If this reply helps you, Karma would be appreciated.
0 Karma

roopeshetty
Path Finder

no i tried this, its not working. May be the dashboard name i am putting in wrong way or may be some config we need to do in Apps?
Here in this "bandwidth" is the name of the dashboard we need to specify?

0 Karma

somesoni2
Revered Legend

Here the name should be same as the dashboard name shown in URL (or the name of dashboard_name.xml), and not the label you see in Splunk's default Dashboard view.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...