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!

Index This | What did the zero say to the eight?

June 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...