Splunk Search
Highlighted

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

Path Finder

Hi there,

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

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

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

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

Splunk Employee
Splunk Employee

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

This post may also help understand the mechanics.

0 Karma