Getting Data In

How do i disable forwarding for one sourcetype

pjcable
Engager

Hi,

We need to send some security events to an external party.  We also need this for our internal use.

On my test instance I've configured outputs.conf as

 

[tcpout]
defaultGroup = security
indexAndForward = 1

[tcpout:security]
server = localhost:9999

Which has got my events flowing to my fake external server and leaves them accessible in the internal side. However I only want to send 2 source types there. How do i filter out the rest of the events?

 

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @pjcable,

as yu can read at https://docs.splunk.com/Documentation/Splunk/9.1.1/Forwarding/Routeandfilterdatad#Replicate_a_subset...

to add a stanza in outputs.conf isn't enough, follow the configuration at the above link.

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...