You can forward data to cloned targets, where targets can be either splunk instance or a device receiving TCP stream. In addition, you can also forward data to syslog target as well.
The following configuration should enable cloning as well as forwarding via syslog. Set the following in outputs.conf:
[tcpout]
defaultGroup = group1, group2 # Clone data to group1 and group2
[tcpout:group1]
server = indexer1:9997
[tcpout:group2]
server = indexer2:9997
sendCookedData = false # Send raw TCP data(logs read by splunk)
# Define syslog to send data to syslog target
[syslog]
defaultgroup = syslogGroup1
[syslog:syslogGroup1]
server = syslogServer:514
# This prevents local indexing. To enable indexing, set index = true
[indexAndForward]
index = false
... View more