Splunk Search

Is there a way to send a single sourcetype to a heavy forwarder?

kteng2024
Path Finder

Hi there,

Is there a way to send specific sourcetype to a heavy forwarder? For example, I would like to send the "database_access" sourcetype to the heavy forwarder for regex parsing and then send the other sourcetype ("webserver_Access") directly to the indexer.

monitor://abc.log
sourcetype=webserver_Access
index=webserver_all

monitor://cdef/log
sourcetype=database_Access
index=database_all
0 Karma

s2_splunk
Splunk Employee
Splunk Employee

Take a look at the documentation for inputs.conf, specifically the _TCP_ROUTING setting, which allows you to select your target groups defined in outputs.conf.

This post may also help understand the mechanics.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...