We're planning on setting up replacement search heads in AWS for some current on prem search heads being phased out. Our plan was to copy over the etc/apps directory and the etc/users folder so we would transfer the apps and user data over (all the config info is also stored in etc/apps so we don't need to transfer auth or system).
Has anyone tried this method and know if it will work as we plan on doing it? In our case the servers will have different names and GUIDs so I'm not sure how that will affect the objects.
Assuming that no setup.xml was in the app (most do not have this), then just copy it directly from $SPLUNK_HOME/etc/apps/*
from CLI. You do not even have to stop splunk on the source Search Head. If you only have GUI, then use this great app:
Assuming that no setup.xml was in the app (most do not have this), then just copy it directly from $SPLUNK_HOME/etc/apps/*
from CLI. You do not even have to stop splunk on the source Search Head. If you only have GUI, then use this great app: