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 ).

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...