icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading VControl
SHA256 checksum (vcontrol_10.tgz) d01e0055709855ff05bb0404110a57dd7721af4aa02830bee258ff1db6761a86
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

VControl

This app has been archived. Learn more about app archiving.
This app is NOT supported by Splunk. Please read about what that means for you here.
Overview
Details
Give your end-users the possibility to commit changes to their App elements (Views, Dashboards, SavedSearches, etc.) to to a subversion repository.

This App helps improving the development process for Splunk Apps in the SearchHead GUI. End-users can check what changes have been made to a specific Splunk GUI element, compare revisions and check the revision log.

The App is basically a Subversion GUI extension for users who develop their Views, Dashboards and SavedSearches in the Splunk SearchHead.

Overview

Give your Splunk end-users the possibility to commit changes to their own Apps to a subversion repository.
"VControl" provides GUI extensions to the Splunk SearchHead to commit changes on Dashboards, Views, SavedSearches, etc. to subversion. End-users can browse their revision logs, check for file-diffs, and see the file contents for their apps.

Configuration

The App has to be installed on the SearchHead only

App Configuration

Copy the file $APP_HOME/default/svn.conf.example to $APP_HOME/local/svn.conf and change its content according to your needs

Put an app under version control

Initially, Apps have to be put manually under Subversion control. To use an already created App in $SPLUNK_HOME/etc/apps with "VControl", do the following

i.e. put the example App "webstats2.0" under control of "VControl":

  1. Create a subversion repository (i.e "my_apps") if not already exists
  2. checkout "my_apps" in a /tmp directory --> /tmp/my_apps
  3. move $SPLUNK_HOME/etc/apps/webstats2.0 to /tmp/my_apps
  4. add and commit /tmp/my_apps/webstats2.0 to subversion
  5. go to $SPLUNK_HOME/etc/apps and checkout "webstats2.0" with subversion
  6. from now on, you're able to use "VControl" to track changes of webstats2.0

See next chapter "App Naviation" to see how you can add an Admin Navigation link to "webstats2.0" to give end-users the posibility for versioning their changes

App Navigation

To add the possibility for end-users to version their own Apps, there are two globally defined views ("versioncontrol" and "versioncontrol-revisions") that you can include in their Apps navigation path.

For example, if you want to give the owner of the "Webstats2.0" App the posibility to use "VControl", include following lines in the navigation menu "default.xml" of "Webstats2.0":

<collection label="Admin" >
<view name="versioncontrol" />
<view name="versioncontrol-revisions" />
</collection>

See following screenshot as an example:

integrate into custom apps

Troubleshoot

Enable logging by configuring python "splunk.svn" stanza in the log-local.cfg file

i.e.

#> cat $SPLUNK_HOME/etc/log-local.cfg
[python]
splunk.svn = DEBUG

Then see the logs in $SPLUNK_HOME/var/log/splunk/svn.log

Release Notes

Version 1.0
March 23, 2014

initial version


Subscribe Share

Are you a developer?

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.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.