Getting Data In

How To Seperate WinEventLog events from two different domains

barne_dn
Explorer

Hey Everyone,

I currently have events coming in from two different domains. I'm doing various transforms on the indexer to route events that are not wanted/needed into the nullqueue.

Until now, everything has worked ok, but we're starting to bring in more machines and we need to log more events. Our current props.conf file has all of our transforms listed under one source:

[WinEventLog:Security]

TRANSFORMS-set=drop01,drop02,keep01,keep02...etc

Now that our needs are getting more complicated this setup is not working anymore. Our transforms have become too complicated so I'm going to have to find a way to seperate the events coming from each domain.

What would be the best way to do this?

I was hoping I could setup something like this:

[WinEventLog:Security:Domain01]
TRANSFORMS-set=drop01,keep01,...etc

[WinEventLog:Security:Domain02]
TRANSFORMS-set=drop02,keep02...etc

Thanks!

Kate_Lawrence-G
Contributor

if you are using FQDN and the hostnames are logical per domain you can do something with the SOURCE_KEY?

SOURCE_KEY = metadata:host 
REGEX = <something>
DEST_KEY = <something>
FORMAT = <something>
0 Karma
Get Updates on the Splunk Community!

Observability Highlights | January 2023 Newsletter

 January 2023New Product Releases Splunk Network Explorer for Infrastructure MonitoringSplunk unveils Network ...

Security Highlights | January 2023 Newsletter

January 2023 Splunk Security Essentials (SSE) 3.7.0 ReleaseThe free Splunk Security Essentials (SSE) 3.7.0 app ...

Platform Highlights | January 2023 Newsletter

 January 2023Peace on Earth and Peace of Mind With Business ResilienceAll organizations can start the new year ...