Skip to content

Kintyre/Developer_Guidance_Setup_View_Example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is an example Splunk App to demonstrate how to use setup views that adhere to Splunk Application Certification standards.

Setup View Entry Point

Splunk will automatically try to redirect the user to the setup page if the app.conf's [install] stanza has its is_configured property set to false.

Program Flow

This program starts in the app.conf, where the [install] stanza's is_configured property is set to false. This causes Splunk to redirect to it's setup page that is specified so that an admin/user can configure it for use.

In the app.conf's, [ui] stanza there is a setup_view property that points to which resource should be used for the setup view. In this case it's pointing to default/data/ui/views/setup_view_dashboard.xml.

The dashboard view specifies its CSS and JavaScript resources and points to the two file in appserver/static/javascript/setup_page.js and appserver/static/styles/setup_page.css.

And finally the setup_page.js imports a custom Backbone view from the appserver/static/javascript/views/setup_view_example.js.

Resources

Screen Shots

Log In Screen

Log-In Screen

Select an App

Select App

Begin Setup

Begin Setup

Setup View

Setup View Landing Page

Empty Inputs Used

Empty Inputs

Http:// Input Used

Http Inputs

Valid Inputs Used

Valid Inputs

Completed Setup Landing Page

Final Landing Page

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.4%
  • CSS 4.6%