Tutorial: Create a custom Splunk view

This tutorial shows you how to create a reusable custom view with a third-party visualization to chart your Splunk data. The tutorial uses a Simple XML extension and the SplunkJS Stack component of the Web Framework.

Custom view

We'll start out by using the SimpleSplunkView base class to create a basic custom view. Then, we'll gradually add different features that show how to override the different methods of the base class to customize the view.

Here's what we'll do in this tutorial:

  1. Create an app for the tutorial with a Simple XML dashboard and extension
  2. Create a "hello, world!" view
  3. Pass values to the template tag and class constructor
  4. Add a search to the view and display data from it
  5. Format search data and display it
  6. Add a third-party visualization

Let's begin with 1. Create an app for the tutorial with a Simple XML dashboard and extension.