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!

Why You Can't Miss .conf25: Unleashing the Power of Agentic AI with Splunk & Cisco

The Defining Technology Movement of Our Lifetime The advent of agentic AI is arguably the defining technology ...

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...