ksconf check

Provide basic syntax and sanity checking for Splunk’s .conf files. Use Splunk’s builtin ‘btool check’ for a more robust validation of keys and values.

Consider using this utility as part of a pre-commit hook.

usage: ksconf check [-h] [--quiet] FILE [FILE ...]

Positional Arguments

FILE One or more configuration files to check. If ‘-‘ is given, then read a list of files to validate from standard input

Named Arguments

--quiet, -q Reduce the volume of output.