Getting Data In

Is it possible to configure a Heavy Forwarder to send data to Indexers AND to a 3rd party server?

mjdozza
New Member

In short I have a heavy forwarder that is receiving a bunch of data from a syslog feed. The forwarder will then send the data to my indexer group specified in outputs.conf. I also want to forward a subset of this data to 3rd party application on a different server as well. Fortunately this subset of data is coming from the same host.

I have tried a configuration with props.conf and transforms.conf to route the data from this specific host. I then didn't see this subset of data on my indexers. So would it be possible to have this subset of data be filtered and routed on the Heavy forwarder to a 3rd party application and at the same time sent to an index on my indexer group?

0 Karma

aakwah
Builder

I think if you create a separate monitor stanza in inputs.conf and tcpout/syslog in outputs.conf for the subset data and apply filtering on it it will work, as per the below example audit logs is indexed by splunk and on the same time sent to syslog server.

inputs.conf

[monitor://$SPLUNK_HOME/var/log/splunk/audit.log*]
_SYSLOG_ROUTING = syslog-out1

outputs.conf

[syslog]
defaultGroup = syslog-out1
[syslog:syslog-out1]
disabled = false
server = x.x.x.x:514
type = tcp

Regards,
Ahmed Elakwah

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...