Getting Data In

Send logs to multiple splunk servers using splunk forwarder 6.2.2.25

Engager

Hello All,

I need to send logs to a new separate splunk server, I read about data cloning and followed the document and modified the output.conf file accordingly. But my questions are :-

  1. There are multiple output.conf files in the splunk installation directory so i have amended the files in two locations:-

C:\Program Files\SplunkUniversalForwarder\etc\apps\Output_ORE\local
&
C:\Program Files\SplunkUniversalForwarder\etc\system\local

a.Which is the correct directory as i presume i should make changes only in one location ?

b.Is the configuration of output.conf on the client webservers managed by the splunk server if yes then how can i deploy a config for second splunk server or amend the original one ?

  1. If i dont want to not clone data anymore at a later stage and send different parts of logs to second splunk server then where do i define this, i presume input.conf but how ?

SplunkTrust
SplunkTrust

I.
a - There can be multiple outputs.conf in a splunk installation for eg: etc/local, etc/default,etc/apps/default,etc/apps/local etc. Splunk merges all the configuration files and applies it. If there are similar stanzas in two different configuration files, Splunk picks up the configuration based on precedence which is described here http://docs.splunk.com/Documentation/Splunk/6.4.2/Admin/Wheretofindtheconfigurationfiles#How_Splunk_...

b - It depends on your installation. If you have a deployment server configured, it can act as a central server to deploy the configurations. More details : http://docs.splunk.com/Documentation/Splunk/6.4.2/Updating/Aboutdeploymentserver

II. You can route and filter data using props and transforms . Reference : http://docs.splunk.com/Documentation/Splunk/6.4.2/Forwarding/Routeandfilterdatad