Getting Data In

App install using REST api and URL


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 "" -d name=""

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?

Tags (2)

Re: App install using REST api and URL


The correct endpoint to use is /apps/appinstall.

please try:

curl -u "user:pass" -k "" -d name=""

View solution in original post