Manage app deployment across all peers
Before reading this topic, see Manage common configurations across all peers. App deployment is just a special case of the configuration file deployment described in that topic.
Distribute an app to the peer nodes
To distribute an app across the peer nodes:
- Inspect the app for
indexes.conf
files. For each index defined in an app-specificindexes.conf
file, setrepFactor=auto
, so that the index gets replicated across all peers. See The indexes.conf repFactor attribute. - Place the app in the
$SPLUNK_HOME/etc/manager-apps
directory on the manager node. The set of subdirectories in this location constitute the configuration bundle. - Use Splunk Web or the CLI to distribute the configuration bundle to the peer nodes.
For detailed information on each of these steps, see Update common peer configurations and apps.
Once an app has been distributed to the set of peers, you launch it on each peer in the usual manner, with Splunk Web. See the chapter Meet Splunk apps in the Admin Manual.
Delete an app from the peer nodes
To delete an app that you previously distributed to the peers, remove its directory from the configuration bundle. When you next push the bundle, the app will be deleted from each peer.