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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...