This is an example Splunk App to demonstrate how to use setup views that adhere to Splunk Application Certification standards.
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.
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
.
As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.