Overview

Introduction to the Splunk App Framework

The App Framework enables you to:

What are apps and add-ons?

Both apps and add-ons are small packages that contain code, configuration files, and domain-specific knowledge. Apps almost always extend the Splunk user interface, and tend to be more feature-rich than add-ons. Add-ons generally include configurations that encapsulate more Splunk knowledge and less extended interface functionality than an app.

It is not uncommon for an app to be loosely coupled with one or more add-ons, and mulitple apps and add-ons can function simultaneously within the App Framework.

Python and JavaScript developers can use the App Framework to take advantage of the CherryPy embedded app server and a mature tool chain, which facilitate rapid development, portability, and code reuse.

The following figures provide an App Framework visualization:

'Splunk App Framework Touchpoints' shows the Splunk application stack, focusing on the app framework layer.

'Splunk App Components' is a Venn Diagram showing more app or add-on component implementation details and scope. The figure also shows the related file directory structure.

Use the following resources to learn more about the App Framework, including which apps and add-ons are already available:

Using the Splunk App Framework Docs

The 'Getting Started' section walks you through the five steps of creating, packaging, and distributing a new app or add-on.

The 'Tutorials' section provides a fully documented, deep-dive into the add-ons, apps, and modules comprising the de facto Splunk App canon.

The 'How-To' section provides detailed instructions for creating essential app features, from app setup to custom module implementation.

The 'Reference' section contains relevant Python and JavaScript reference material for each App Framework component.