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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...