I am trying to automate the installation of apps (as part of automating the whole splunk server creation), and since there is the nice
./splunk install app <file/link> command, I was hoping I could just use
or even better
./splunk install app pdfserver where I would just refer to a unique global app name (in the spirit of apt/yum)
Is there any way to make this work that I missed (aside from downloading the app manually and putting it on my server and pointing the automation/CLI to that file)?
I wrote a script to do this. It allows you to authenticate to Splunkbase and download an app.
Once you have the app.tgz, you can use the standard
./splunk install app <filename> syntax.
I realize this reply comes about 9 years too late, but hopefully it helps someone else in the future.
Just tried, same result (
An error occurred: file could not be opened successfully) - that url is just a redirect to the one I tried earlier.
Seems like this is a way to enforce accepting license on download.