The REST API docs indicate that it is possible to install an app via "URL". Using splunk 4.1.6, this response is given when using the "name" parameter with curl and a URL to use for app install.
curl -u "user:pass" -k "https://188.8.131.52:8089/services/apps/local/appinstall/" -d name="http://184.108.40.206/test.spl"
In the xml output:
Application name can only contain the following characters: a-zA-Z0-9_
How do you install an app using REST from a URL?
The correct endpoint to use is /apps/appinstall.
curl -u "user:pass" -k "https://220.127.116.11:8089/services/apps/appinstall" -d name="http://18.104.22.168/test.spl"
View solution in original post