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!

User Groups | Upcoming Events!

If by chance you weren't already aware, the Splunk Community is host to numerous User Groups, organized ...

Splunk Lantern | Spotlight on Security: Adoption Motions, War Stories, and More

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

Splunk Cloud | Empowering Splunk Administrators with Admin Config Service (ACS)

Greetings, Splunk Cloud Admins and Splunk enthusiasts! The Admin Configuration Service (ACS) team is excited ...