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.
You must use the master node to deploy apps to the peer nodes. Do not use deployment server or any third party deployment tool, such as Puppet or CFEngine.
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/master-apps
directory on the master. 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.
When it comes time to access an app, you do so from the search head, not from an individual peer. Therefore, you must also install the app on the search head. On the search head, put the app in the conventional location for apps, that is, under the $SPLUNK_HOME/etc/apps directory. Install the app in the usual fashion, according to the app-specific instructions.
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.
Manage common configurations across all peers | Configure the peer indexes in an indexer cluster |
This documentation applies to the following versions of Splunk® Enterprise: 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.0.6, 7.0.7, 7.0.8, 7.0.9, 7.0.10, 7.0.11, 7.0.13, 7.1.0, 7.1.1, 7.1.2, 7.1.3, 7.1.4, 7.1.5, 7.1.6, 7.1.7, 7.1.8, 7.1.9, 7.1.10, 7.2.0, 7.2.1, 7.2.2, 7.2.3, 7.2.4, 7.2.5, 7.2.6, 7.2.7, 7.2.8, 7.2.9, 7.2.10, 7.3.0, 7.3.1, 7.3.2, 7.3.3, 7.3.4, 7.3.5, 7.3.6, 7.3.7, 7.3.8, 7.3.9, 8.0.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.5, 8.0.6, 8.0.7, 8.0.8, 8.0.9, 8.0.10
Feedback submitted, thanks!