Splunk Search
Highlighted

how to create dashboard app

Path Finder

I have a dashboard and i want to make that dashboard as an app so that i can push it to other search heads . But my question is , how do i convert a dashboard into an app . I have the dashboard xml which i could find in /opt/splunk/etc/apps/search/default/data/ui/views file but i don't know the what are the other files need to create the app. Can anyone please explain me the steps for the creation of the app .

Highlighted

Re: how to create dashboard app

Legend

Refer to App packaging and publishing/distribution from the following documentation:

http://dev.splunk.com/view/webframework-developapps/SP-CAAAEMY
http://docs.splunk.com/Documentation/Splunk/6.4.7/AdvancedDev/PackageApp




| eval message="Happy Splunking!!!"


0 Karma
Highlighted

Re: how to create dashboard app

Legend

Hi kteng2024,
the best way to work is to create an App before dashboards, fields and all the knowledge objects, so all of them will be in the App and it will be very easy to copy them in other systems.
If you did't do it, you could move objects in the new App, but put attention to move all knowledge objects!
When you'll sure to have all objects in your App, you could package it following the procedure described at http://dev.splunk.com/view/webframework-developapps/SP-CAAAEUC and then install it on the new servers using the web interface.
Otherwise you can copy the App folder ($SPLUNK_HOME/etc/apps) in the new servers and then restart them.

Bye.
Giuseppe

0 Karma
Highlighted

Re: how to create dashboard app

Esteemed Legend

This is very easy; do exactly this:
Click on the splunk text/icon in the upper left.
Click on the gear icon below that to the right of the Apps text that appears.
Click on the Create app button near the top.
Fill out the stuff and choose sample_app in the Template selector.
Click the Save button.
Click on the black Settings menu on the very top (it moves around).
Select User interface.
Select Views.
Change the App setting to All.
Type your dashboard name in the search box and click the magnifying glass icon to find your dashboard KO.
Click the Move (or Clone if you have older splunk version or do not own the dashboard).
Set your app for the context (for Move it is a listbox and you click Move after selection).

Now the app exists on your search head and you can see it if you
Click on the black Apps menu to the right of the splunk icon in the upper left and select your new app.

But you are still not done because you have to migrate it to your DS. You can do that from the CLI or use this great app (helps whenever you do not have CLI access but you are admin on the Search Head):
https://splunkbase.splunk.com/app/2613/

0 Karma