This is probably a weird question, I have a bunch of indexers and search heads that need to have same apps installed. Other than using deployment server, can I install app to all these splunk instances remotely using a script instead of installing through Splunk web one by one?
I have looked at Java SDK and did not find anything for this, and I have tried the CLI remotely (splunk install app myapp.tar.gz -uri https://remotehost:8089), but that gave me error like this: "In handler 'localapps': Error during app install: failed to extract app from myapp.tar.gz : /opt/splunk/var/run/xxxxxxxx No such file or directory".
Thanks
Deployment server is the way.
Otherwise you have to use your own devops tools (puppet, chef, scripts....)