Getting Data In

Dual Forwarder Configuration

MrWhoztheBoss
Explorer

Hi Everyone,

I am trying to figure out how can I do dual forwarder configuration for universal forwarders. Can someone please guide me in getting some idea for it or point out to splunk-docs/articles that can be helpful.

Labels (2)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @MrWhoztheBoss,

if you want to send the all the logs to two groups of indexers, you have to configure this situation in outputs.conf, something like this:

[tcpout:Group1]
server=server11:9997,server12:9997
disabled=false

[tcpout:Group2]
server=server21:9997,server22:9997
disabled=false

If instead you want to send only a part of logs to each group of indexers, you have to follow the instructions at https://docs.splunk.com/Documentation/Splunk/8.2.3/Forwarding/Routeandfilterdatad#Filter_and_route_e...

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @MrWhoztheBoss,

what do you mean with "dual forwarder configuration for universal forwarders"?

You can have many configuration files in the deployed apps but for each parameter you can have only one value.

If instead you want to configure your UF to send logs to two indexers there are many answers to do this.

Ciao.

Giuseppe

0 Karma

MrWhoztheBoss
Explorer

Hi @gcusello 

I was looking for how I can configure One UF to send data to Two Indexer Groups which are setup in different environment.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @MrWhoztheBoss,

if you want to send the all the logs to two groups of indexers, you have to configure this situation in outputs.conf, something like this:

[tcpout:Group1]
server=server11:9997,server12:9997
disabled=false

[tcpout:Group2]
server=server21:9997,server22:9997
disabled=false

If instead you want to send only a part of logs to each group of indexers, you have to follow the instructions at https://docs.splunk.com/Documentation/Splunk/8.2.3/Forwarding/Routeandfilterdatad#Filter_and_route_e...

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...