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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...