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!

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...