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 Btool Scripted Inputs for Splunk
SHA256 checksum (btool-scripted-inputs-for-splunk_301.tgz) 06e896bf1a5af9406072c4aad0111ff80bacd6d307520eb3d1119319ab77bdfa SHA256 checksum (btool-scripted-inputs-for-splunk_101.tgz) 9770c25fa365338acbd589502124c0b23ac365c6af25e2490c8f2ef6233abb97
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

Btool Scripted Inputs for Splunk

Splunk Labs
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
The btool command is the standard way to interrogate splunk about the effective contents of a configuration file after
all instances of that file (default/local, system/apps) have been merged.

The btool app ingests configuration file contents on a schedule allowing you to watch for changes, find instances in
your deployment with configurations that don't match, and get your btool fix without having to hit the command line.

btool

btool provides a scripted input that indexes configuration file introspection for your Splunk instance.

Scripted inputs

btool.sh

btool.sh configuration_file [splunk_home] [sudo_user]

Runs $splunk_home/bin/splunk btool $configuration_file --debug, sudoing as the $sudo_user if any.

splunk_home defaults to $SPLUNK_HOME.

If you are running the btool script from one splunk instance against another, then you need to specify splunk_home.
You'll also want to set a sudo_user (and configure sudoers appropriately) if the foreign splunk instance runs as a
different user than the calling splunk instance.

Update on change

Starting with version 2.0.0, btool will only index a configuration if there has been a change in output since the last run, or if 24 hours have passed since the last change. This means you can run btool frequently without wasting your license, and that you can always get a complete configuration if you search over the last 24h.

Props

The following fields are extracted * app_folder (apps, master-apps, slave-apps) * app (app folder or "system") * conf (e.g. props.conf) * SPLUNK_HOME * stanza

Deployment

  • Deploy to splunk instances that you want to collect configuration information from, and add local/inputs.conf to enable inputs and set index.
  • Deploy to indexers receiving events for parsing and extraction props.

Credits

  • Splunk Cloud SRE
  • Shaun Butler
  • Rob Manevski
  • Russell Uman

Release Notes

Version 3.0.1
Nov. 3, 2017
Version 1.0.1
May 17, 2017

Added icons to address appInspect failures


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.