Dashboards & Visualizations

Dashboard and Views

jangid
Builder

I have created an app using app builder, Now I am creating dashboard panel but all panel goes to in View menu, How do I display these panel(s) in Dashboard menu?

Tags (1)
0 Karma
1 Solution

Ant1D
Motivator

Sounds like you might have to edit the default.xml file for your app.
You might have something in there that looks like:
<collection label="View">
<view source="unclassified" />
...

You would need to remove the 'view source' line and then reference your created dashboard in this section:
<collection label="Dashboard">
<view name="the_name_of_your_dashboard" />
</collection>

View solution in original post

jangid
Builder

Here is the contents of my default.xml

0 Karma

Ant1D
Motivator

Sounds like you might have to edit the default.xml file for your app.
You might have something in there that looks like:
<collection label="View">
<view source="unclassified" />
...

You would need to remove the 'view source' line and then reference your created dashboard in this section:
<collection label="Dashboard">
<view name="the_name_of_your_dashboard" />
</collection>

Ant1D
Motivator

I would remove any match="" attributes. I would also remove any view source="unclassified" parameters.

0 Karma

jangid
Builder

Here is the contents of my default.xml

0 Karma

jangid
Builder

After changing the value still I cant see any item in dashboard 😞

0 Karma

ChrisG
Splunk Employee
Splunk Employee

Are you using the dashboard tag or view template="dashboard.html" in your XML?

0 Karma

ChrisG
Splunk Employee
Splunk Employee

Ant1D has a good suggestion, below. And in general, if you are not already doing so, you should take a look at the Developing Dashboards, Views, and Apps manual (see http://docs.splunk.com/Documentation/Splunk/latest/Developer/HowToUseThisManual ).

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...