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 KSCONF
SHA256 checksum (ksconf_0123.tgz) 408d2036a5b014957417578a308a04306a48438ae6b5405159c6122aa2f8c872 SHA256 checksum (ksconf_0131.tgz) b473358f45fadce7052362d943ca904bac952aeed966fb4def5731c5c9284d3c SHA256 checksum (ksconf_0121.tgz) 57dae35d76b4ff198c2ae13839fb355d5a2b7d46b190ff8fc43f1ae13b96afbf SHA256 checksum (ksconf_0119.tgz) c7096c43ec09952c3786cd00321a084413fa4135b3e89d06dd1284e2d3daa990 SHA256 checksum (ksconf_0115.tgz) 5e88b9f33154b1161ee3c8e74c10b18fe3c2dee2057f2dfb271d901bbf908066 SHA256 checksum (ksconf_0117.tgz) b4654726927e5893dedc224014143c381e15e4a45f3e00eaf84e18167bdc7dca SHA256 checksum (ksconf_092.tgz) bcb5f4c2ede50466931d0b8308fa1ff88ec71076ea06099e8b431f1533f48acb SHA256 checksum (ksconf_091.tgz) 02d8023620f3203e20d3090fe1b03245d076cbc92f2d1e53fe8249d9dd3cd16b SHA256 checksum (ksconf_090.tgz) 03ac60acc9be23dc3139dc6152372516155d5b07adbeeec13d706742e0f4e7aa SHA256 checksum (ksconf_087.tgz) 843adc596097786de58de1f51ab96f06599058b23a6320c4c8a7e80c53382fdd SHA256 checksum (ksconf_086.tgz) 29c76c37b5901bc5af5ff46e13a21f30ae66fe92dad7bd7fa796bcdbb04741f3 SHA256 checksum (ksconf_084.tgz) e98c42666d78c7f952a350664469ba7f1f8b83bc96a69740245034d3edc3f92f SHA256 checksum (ksconf_083.tgz) 79e97830b11549c5edccb7289b9aee480736d5d30fae1d29c35228eafefe205e SHA256 checksum (ksconf_0710.tgz) 1991a4bd9804aacf6303fd54437a6228958ba5a52cfedb3f5110427a05b7e1c6 SHA256 checksum (ksconf_078.tgz) 8369461116e67eb04bd46879d6256e869bca50d94c972594b4d63c9336ff3c77 SHA256 checksum (ksconf_077.tgz) 0c9a3b176d262677ef57458a039f3b53ed629035b1e8e4f225ffb27e96a2cdec SHA256 checksum (ksconf_076.tgz) 461a623268cef1b11fa2d3e23d3763340140a9531dc4b2f791ca97b2e3420073 SHA256 checksum (ksconf_075.tgz) ba08cc6382b8e213840a9ceaf14d06fbb5bed2602504b7fe3c57b115d5c265b9 SHA256 checksum (ksconf_074.tgz) 2a84b1c47c6ac6ea1707ea210ba4923337abf22fbd6d04e8446b73b9a8c074bb SHA256 checksum (ksconf_073.tgz) e48cc0d0e8a90bb69053e9b57ed8db8d2c746cef9ee42462f9defd8df1613962 SHA256 checksum (ksconf_072.tgz) 233522e50f228e3d79ea81c489ad498cf62760d4d85bd529ee4088c5abfe39b0 SHA256 checksum (ksconf_071.tgz) da66666bdff4cd9753929315dec20e1cd47d8febc7e5c3f8a0a02f8804fb388f SHA256 checksum (ksconf_070.tgz) 41eece31f1f74ccf1b2f4239b9324b711b5c5c4c70ebd839225eb3b30b47ecab SHA256 checksum (ksconf_062.tgz) bdccaa9cd3b64fa2a44dc059d6a54357f3622059318f9ee1d545fc30c61b2c4c SHA256 checksum (ksconf_061.tgz) ba13d331191bbda033d59c45e56af859d30fe99ef623ae19f640526cd862c479
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

KSCONF

Splunk Cloud
Overview
Details
Git and Splunk don't always fit together perfectly. Introducing KSCONF, a tool written to alleviate arduous tasks associated with managing Splunk apps in a git repository. This open source tool supports many functions to help both admins and developers manage Splunk content in git in a simple way without getting stuck in the details.

https://github.com/Kintyre/ksconf

What is KSCONF?

KSCONF is a command-line tool that helps administrators and developers manage their Splunk environments by enhancing control of their configuration files. The interface is modular so that each function (or subcommand) can be learned quickly and used independently. While most users will probably only use a subset of the total capabilities of this tool, it’s reassuring to have a comprehensive toolbox of powerful assets ready to be utilized at a moment's notice. Ksconf works with, rather than replace, your existing Splunk deployment mechanisms and version control tools.

KSCONF is open source and an open development effort. Check us out on GitHub

Pronounced: k·s·kȯnf

Design principles

  • Ksconf is a toolbox. - Each tool has a specific purpose and function that works independently. Borrowing from the Unix philosophy, each command should do one small thing well and be easily combined to handle higher-order tasks.
  • When possible, be familiar. - Various commands borrow from popular UNIX command line tools such as “grep” and “diff”. The overall modular nature of the command is similar to the modular interface used by “git” and the “splunk” cli.
  • Don’t impose workflow. - Ksconf works with or without version control and independently of your deployment mechanisms. If you are looking to implement these things, ksconf is a great building block.
  • Embrace automated testing. - It’s impractical to check every scenario between each release, but significant work has gone into unit testing the CLI to avoid breaks between releases.

Common uses for ksconf

  • Promote changes from “local” to “default”
  • Maintain multiple independent layers of configurations
  • Reduce duplicate settings in a local file
  • Upgrade apps stored in version control
  • Merge or separate configuration files
  • Push .conf stanzas to a REST endpoint (send custom configs to Splunk Cloud)

What's in the KSCONF App for Splunk?

This Splunk app comes bundled with a CLI tool that helps manage other Splunk apps. While this is not a traditional use case for a Splunk app, it is a very quick and easy way to deploy ksconf.

Why did we make this a Splunk app? While ksconf is technically just a Python package that can be deployed in a variety of ways, we found that the logistics of getting it deployed can be quite difficult due to a packaging issues, legacy cruft, and OS limitations. This approach avoids all that mess.

Getting Started

Full documentation for ksconf, including this app, is hosted at read-the-docs. A full copy of the ksconf documentation is also included, similar to how Splunk ships with a full copy of the docs in the system/README folder. (And all the air-gapped people rejoice! but sadly, no one could hear them.)

Docs

Need help?

Get Involved

Roadmap

Additional Splunk UI features are planned, but currently not implemented.

  • Dashboard to track all changes coordinated by ksconf
  • Configuration snapshot tracking
  • Custom SPL command to give visibility into what exists in the local folder. (The built-in rest command only shows you the final merged view of your settings; and sometimes you have to look deeper.)

Installation & Configuration

See the Install an add-on in Splunk's official documentation. There is one manual step required to activate the CLI portion of this app, if you choose to do so. See the Installation docs for more details.

Support

Community support is available on best-effort basis. For information about commercial support, contact Kintyre
Issues are tracked via GitHub

History

See the full Change log

Release Notes

Version 0.12.3
Oct. 5, 2023
Version 0.13.1
Oct. 5, 2023
Version 0.12.1
Oct. 4, 2023
  • New ksconf attr-get and ksconf attr-set commands
  • Added filter matching based on attribute/value combinations.
  • Allow for in-place ksconf merge operations
  • Tons of minor bug fixes (including the inline docs)

See full release notes

Version 0.11.9
Sept. 26, 2023

Fix Splunk packaging bug.

See change log

Version 0.11.5
Sept. 26, 2023
Version 0.11.7
Sept. 21, 2023

See change log

Python packaging issue found. Do not use this version.

Version 0.9.2
March 4, 2022
  • The filter command can now include/exclude stanzas based on the boolean value of disabled using the new --enabled-only or --disabled-only arguments. The default behavior remains the same, that is, the disabled attribute is completely ignored.
Version 0.9.1
March 4, 2022
  • Ksconf now tries harder to preserve file modification times. This is supported in merge, combine and package commands.
    Specifically, merged .conf files and concatenated files will keep the most recent modification time in the destination.
    This should make the output of `ombine and package (by extension) more deterministic in many scenarios.
Version 0.9.0
Aug. 13, 2021
  • Expand use cases for ksconf combine with new --keep-existing <pattern> and --disable-cleanup arguments.
  • Support ksconf promote by combining --stanza <pattern> and --summary or --diff options at the same time.
  • New ksconf diff output options for (1) setting detail level using --detail {global,stanza,key} and (2) new JSON output format with --format json. Fixed an diff output bug and some inconsistencies in space.
  • Allow enabling/disabling TTY colors via environmental variable: KSCONF_TTY_COLOR={auto,force,off}. This can also be done with --disable-color CLI option.

Read the full change log here:
https://ksconf.readthedocs.io/en/v0.9.0/changelog.html#ksconf-0-9

Version 0.8.7
April 30, 2021
  • Support combining *.conf.spec files in ksconf combine, thus allowing README.d to be it's own layer.
  • Fixed potential ksconf unarchive issue with older version of git where git add DIR didn't assume the --all option. So if you're stuck on git 1.7/1.8 ksconf should still work
Version 0.8.6
April 20, 2021
  • Fixed install.py Splunk app CLI install helper script to support referencing a specific version of Python. This allows Splunk 8.0 user sto run ksconf using Python3, for example.
  • Minor doc tweaks
  • Fixed ASCII art issue.

Full list:
https://ksconf.readthedocs.io/en/devel/changelog.html#ksconf-v0-8-6-2020-04-20

Version 0.8.4
March 24, 2021

Build and packaging enhancements

  • CLI change: Replaced short option for --allowlist to be -a, before it was -w.
  • Add some safety checks to the package command to check for app naming issues and hidden files and directories.
  • Added {{app_id}} variable to ksconf package command.
  • Added a new optional argument to copy_files() for additional control over the destination path in the build folder.
  • Minor tweak to unhandled exceptions. The name of the exception class is now shown.
  • When using make_missing in update_conf(), missing directories will now be created too.
  • Additional fixes to the Ksconf for Splunk App build.py script

See details here: https://ksconf.readthedocs.io/en/v0.8.4/changelog.html#ksconf-v0-8-4-2020-03-22

Version 0.8.3
March 21, 2021
  • New command ksconf package is designed for both Splunk developers and admins. This includes simple but helpful options to merge ‘local’ into ‘default’, set the an app version, set the top-level folder name (if it’s different on the file system), and so on.
  • New module ksconf.builder helps build Splunk apps using a pipeline; or when external Python libraries are bundled into an app
  • Legit layer support with built-in layer filtering capabilities is available in several commands. Now you can easily have layers for both "default" and "lookups", for example.
  • Python 3! Head's up: We'll be dropping support for Python 2 in an upcoming release

Official change log: https://ksconf.readthedocs.io/en/latest/changelog.html#ksconf-0-8

Version 0.7.10
March 19, 2021

Empty stanza bug fix

  • Fixed bug where empty stanzas in the local file could result in stanza removal in default with ksconf promote.
  • Updated ksconf diff interface to improve handling of empty stanzas
Version 0.7.8
June 20, 2020
Version 0.7.7
June 20, 2020
Version 0.7.6
Aug. 16, 2019
Version 0.7.5
July 3, 2019
Version 0.7.4
June 8, 2019
Version 0.7.3
June 5, 2019
Version 0.7.2
March 22, 2019
Version 0.7.1
March 14, 2019
Version 0.7.0
Feb. 28, 2019

This release fixes up packaging issues with python package folders that may caused issues after upgrades. Unfortunately, this means everyone who had installed 0.6.x should uninstall and do a fresh install of 0.7.0. Hopefully this issue is resolved and extra steps like this won't be required in the future.

As always, read the full change log here:
https://ksconf.readthedocs.io/en/v0.7.0/changelog.html#release-v0-7-0-2019-02-27

Version 0.6.2
Feb. 9, 2019
Version 0.6.1
Feb. 7, 2019

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.