Step 2: Create your app
Contents
Step 2: Create your app
Splunk's app framework works from a specific directory structure. You can create the directory structure by hand within your $SPLUNK_HOME/etc/apps directory. However, you can also use Splunk's app builder to create and customize your app workspace. App builder creates the directory structure for you, as well as the app.conf configuration file that registers your app with your Splunk server.
Use app builder
App builder is available from Splunk Manager. To use app builder in Splunk Web, follow these instructions:
1. Log in to Splunk Web and navigate to Manager > Apps.
2. Click Create app.
3. Specify the following in the Add new panel.
- Name: The name for your app. The name maps to the label setting in
app.confand is the name that appears in Launcher and the App drop-down menu in Splunk Web.
- Folder name: The name to use for the directory in $SPLUNK_HOME.
- Visible: Apps containing views should be marked visible.
- Description: A description of the app that appears on the Splunk Home page.
- Template: Splunk provides the
sample_appandbarebonesapp templates.sample_appincludes sample views and saved searches.barebonesjust provides the app directory structure and anapp.conffile. You can add additional customized templates.
- Upload asset: Add any image, HTML, JavaScript, CSS, or other asset to your app. You can only upload one file from this panel.
3. Save your app. You do not have to restart Splunk before your app is available, but you may need to restart Splunk to load configurations.
9. Continue building out your app in Step 3: add configurations.
This documentation applies to the following versions of Splunk: 4.3 , 4.3.1 , 4.3.2 View the Article History for its revisions.