Topics

| pdf version

Splunk > The IT Search Company

  • Search and navigate IT data from applications, servers and network devices in real-time.
  • Download Splunk

Localized Splunk documentation

Looking for Splunk documentation in other languages?

App directory structure

This documentation applies to the following versions of Splunk: 4.0 , 4.0.1 , 4.0.2 , 4.0.3 , 4.0.4 , 4.0.5 , 4.0.6

App directory structure

All Apps live in a custom directory, within $SPLUNK_HOME/etc/apps.

Note: When you build an App via appbuilder, all these directories are automatically created.

App Structure

Within this directory are the following subdirectories:

  • Default/
    • Put all the Splunk configuration files your App needs in Default. All Apps must have an app.conf. Some may also contain savedsearches.conf, inputs.conf, or other relevant configuration files.
  • Local/
    • Developers don't configure anything within the local dir. It is there for App users and admins to overwrite any default configurations.

Within both default and local directories, there are more subdirectories for configuring the UI. These are contained within $SPLUNK_HOME/etc/apps/<App_name>/<default or local>/data/UI/, and include:

  • Views/

Custom configurations

To add any custom modules, images, CSS or HTML to your App, add the appserver/static directories within your App's directory ($SPLUNK_HOME/etc/apps/<App_name>/). Use the static directory to:

Revision: 207 | Contact | Privacy Policy | Terms of Use | Community content licensed under Creative Commons