I am trying to forward a specific sourcetype (let's call it "mySourcetype") to a third party software with a Heavy Forwarder.
The Heavy Forwarder receives the data on a udp port with a splunk input:
connection_host = dns
sourcetype = mySourcetype
_SYSLOG_ROUTING = mySyslogRouting
We added the _SYSLOG_ROUTING line to also send it to the third party software as described in outputs.conf:
type = udp
priority = NO_PRI
syslogSourceType = sourcetype::mySourcetype
server = yyyyyy:3000
Unfortunately, the destination "yyyyyy:3000" receive all data (not just this sourcetype) from the HF. So that means all the other sourcetype and internal Splunk logs...
We tried to use the props.conf and transforms.conf to route it:
TRANSFORMS-changehost = routeSourcetype
The result is the same : the destination receive too much data.
Any idea to limit the Syslog forwarding to just one sourcetype?
EDIT: I found an old post that seems to be talking about the same issue but with no answers...