Summary
Splunk configurations are stored in files with the .conf
extension. They are called conf files for short. In this chapter, we started by understanding conf files and their directory order of precedence and ended by looking at troubleshooting using the btool
command.
Let us go through the important items to remember while working with conf files. Conf files with the same stanza names and in multiple directories are merged during the runtime of Splunk execution. The precedence is decided based on the type of conf file and its context. The precedence types are index time and search time, and the order of consideration of app directories is reverse lexicographical for search time and lexicographical for index time files.
Search-time precedence gives the highest priority to the etc/users
directory through etc/apps
, and the lowest priority is the system directory. Index-time precedence gives the highest priority to the system/local
directory through etc/apps
and the lowest...