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
Get Updates on the Splunk Community!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...