Getting Data In

Is it possible to define a custom location for universal forwarder local configurations?

marlog
Explorer

My Splunk Forwarder is installed on a share, which can be mapped to all the servers in my environment. Therefore, I am wondering if it is possible to use binaries out this common location, but have configs installed elsewhere, locally on each server. If so, I would not need to worry about deploying Splunk Forwarders to all the servers, I will be simply pushing configs as needed.

Is it possible to define a custom location for Universal Forwarder local configs (.../etc/system/local)? For example, set this as an ENV variable prior to starting the forwarder, or maybe passing-in this location as an argument, such as:

.../splunkforwarder/bin/splunk start -local-conf /my/custom/config/location/etc/system/local

And similarly for the logs location?

I realize I can probably use symlinks to achieve this. But I was wondering if Splunk supports the ability to define custom config/log paths.

0 Karma
1 Solution

hunters_splunk
Splunk Employee
Splunk Employee

Hi marlog,

No, Splunk does not support a custom location for universal forwarder local configs or Splunk logs.
In fact, to push configurations (and add-ons) to multiple forwarders, you should set up a deployment server to do exactly this.
The documentation provides very detailed information and instructions about forwarder management using a deployment server:
http://docs.splunk.com/Documentation/Splunk/6.5.1/Updating/Aboutdeploymentserver

Hope this helps. Thanks!
Hunter

View solution in original post

0 Karma

hunters_splunk
Splunk Employee
Splunk Employee

Hi marlog,

No, Splunk does not support a custom location for universal forwarder local configs or Splunk logs.
In fact, to push configurations (and add-ons) to multiple forwarders, you should set up a deployment server to do exactly this.
The documentation provides very detailed information and instructions about forwarder management using a deployment server:
http://docs.splunk.com/Documentation/Splunk/6.5.1/Updating/Aboutdeploymentserver

Hope this helps. Thanks!
Hunter

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...