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!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...