Use App builder to create and customize your App workspace. You'll find App builder in Splunk Manager, in the Apps section. App builder provides a template to accelerate your App building process. There are two templates available in App builder -- barebones and sample_app.
The barebones template provides you with a bare App directory structure. Use this template if you already understand how views work. The App template provides a workspace with all the basic configurations enabled that you'll need to create your App.
The sample_app template provides you with a Splunk App tutorial. This App is built on a small sample of sendmail data(located in $SPLUNK_HOME/etc/apps/sample_app/). In this template, you'll find:
To use App builder in Splunk Web, follow these instructions:
1. Log in to Splunk Web and navigate to Splunk Manager (click the Manager link in the upper right-hand corner).
2. Click on Apps.
3. Hit the Create App... button to create a new App.
4. Enter a Name for your App. For example, helloworld. This name maps to the App's directory in $SPLUNK_HOME/etc/apps/.
5. Enter a Label for your App. This label maps to the label setting app.conf. Label and name can be the same, for example Hello world. The label also appears in the Splunk Web App drop-down (the upper left-hand corner of Splunk Web).
6. Pick the sample_app app template.
7. Add images, assets or files. For any files you don't specify, App builder uses the template's defaults. You can:
$SPLUNK_HOME/share/splunk/appserver/static/ directory.
8. Save your App. You do not have to restart Splunk before your App is available, but you may need to restart to load configurations.
9. Continue building out your App by customizing your App's look and feel. Also, add configurations and knowledge objects.
Categories: V:4.0.5 | V:4.0.6 | V:4.1beta | V:4.0.7