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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...