I would like to install an app on my local computer to a remote Splunk instance using rest api. I get the following error.
This is the rest call that I'm trying
curl -X POST \
-H 'Authorization: Splunk sessionKey' \
-H 'Content-Type: application/x-www-form-urlencoded' \
I get a response
<msg type="ERROR">Error during app install: failed to extract app from /tmp/splunk-add-on-1.0.tgz to /opt/splunk/var/run/splunk/bundle_tmp/0fdba2269ccdff6e: No such file or directory</msg>
The app is packaged into a tarball using a jenkins job and now I would like to upload it to the test server.
Do I have to make the tarball available on the Splunk server?
... View more