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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...