Getting Data In

Send logs to multiple splunk servers using splunk forwarder 6.2.2.25

suhailpuri
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 ?

renjith_nair
Legend

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

Happy Splunking!
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, ...