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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...