Installation

Point Splunk to a directory other than Deployment-Apps/ ?

chris94089
Path Finder

Greetings,

Is there a way to tell splunk to look for deployment apps in a directory other than $SPLUNK_HOME/etc/deployment-apps/

If so, where would this setting be found?

Why would I want to do something like this?  Because I'm trying to use git-sync to pull my apps from a git repo, but they are mounted at deployment-apps/deploymentapps.git/ and I don't yet know how to change it so the actual apps go to the parent directory.

 

Thank you for your help!

0 Karma

chris94089
Path Finder

It looks like the answer is found here:

https://docs.splunk.com/Documentation/Splunk/8.0.5/Admin/Serverclassconf

[global]

repositoryLocation = <path>
* The repository of applications on the server machine.
* Can be overridden at the serverClass level.
* Default: $SPLUNK_HOME/etc/deployment-apps 

 

0 Karma

soutamo
SplunkTrust
SplunkTrust

Maybe there is still better to use e.g. rsync from git repo dir to deployment-apps dir as you must run "splunk reload deploy-server" after you have pull changes from git to deploynent apps dir.

r. Ismo

0 Karma
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!