Every Splunk Enterprise instance, including an indexer, reads its baseline configuration from apps installed under $SPLUNK_HOME/etc/apps. When an indexer participates in an indexer cluster, the directories such as $SPLUNK_HOME/etc/slave-apps (or its later peer-apps naming) are reserved for the configuration bundle that the cluster manager pushes out automatically and are not meant to be populated manually; likewise $SPLUNK_HOME/etc/system/local is meant for local overrides rather than distributable app content. To initialize an indexer with its own base configuration app(s), the app must be placed in the standard $SPLUNK_HOME/etc/apps directory, the same location used for any Splunk Enterprise instance's locally installed apps.
Community Discussion