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 🙂
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...