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!

Take the 2021 Splunk Career Survey for $50 in Amazon Cash

Help us learn about how Splunk has impacted your career by taking the 2021 Splunk Career Survey. Last year’s ...

Using Machine Learning for Hunting Security Threats

WATCH NOW Seeing the exponential hike in global cyber threat spectrum, organizations are now striving more for ...

Observability Newsletter Highlights | March 2023

 March 2023 | Check out the latest and greatestSplunk APM's New Tag Filter ExperienceSplunk APM has updated ...