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!

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...