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

isoutamo
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
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...