I am thinking on how to implement a dependency check in splunk.
Use case: My custom app requires the *nix app to be installed and I want to be able to check if it has been installed and otherwise tell the user that he has to install the *nix app first.
I don't see any "splunk" way of checking for those dependencies and alerting the user accordingly
Anybody having a good suggestion ?
It's free (as in beer) for internal use.
As a rudimentary check for the *nix app you could check if the
os index is present.
For a more robust check you could query this REST endpoint:
| rest splunk_server=local /services/apps/local
Ok, you misunderstood my answer. Inside Sideview App there is an example about how to detect if Sideview is installed or not. This means if you look at this example you will find a 'native way' on how to check for installed apps.