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

---
What goes around comes around. If it helps, hit it with Karma 🙂
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...