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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...