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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...