Installation

How to install app remotely

xchang1226
Path Finder

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

Tags (1)

yannK
Splunk Employee
Splunk Employee

Deployment server is the way.
Otherwise you have to use your own devops tools (puppet, chef, scripts....)

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...