All Apps and Add-ons

How to collect WinEventlog:Security logs in a shared Active Directory (multiple companies are using same AD)?

btiggemann
Path Finder

Hi Splunkerz,

we get this request quite often.
Some hosting companies or service provider are running a multi-tenant Microsoft Active Directory.
They are using the same DC's for multiple companies with in the same Active Directory.

For example they have two DC's that are used by Company A and Company B in one global domain called serviceprovider.local .
There are two subdomains like companyb.serviceprovider.local and so on.
But all the administration and operation is done by a service provider.

Now the service provider will offer those two companies some reports with Splunk.
Maybe they should be able to their own search head instance to do this by themselves.

Is there a way to separate the WinEventLog:Security information in an special index per customer?

I am totally aware about the routing and filtering function in Splunk.
If I have a clear filter criteria like the subdomain this will be possible. But this is not the case.
What about WMI? I know this is not best practice but can I separate the logs there?

Does anybody solved this problem already?

0 Karma

DalJeanis
Legend

Give each company their own index. Use the subdomain (or any other distinguishing feature, such as source) in conjunction with the config files to override the metadata for the index. You could use some other metadata field than index, but storing the information specifically as the index makes lots of role-based features easy to administer.

splunk documentation - http://docs.splunk.com/Documentation/Splunk/6.5.2/Data/Advancedsourcetypeoverrides

various questions and answers related to specific issues -
https://answers.splunk.com/answers/100609/redirection-to-different-index-using-transforms-conf.html
https://answers.splunk.com/answers/146548/how-to-change-the-index-at-index-time.html
https://answers.splunk.com/answers/1958/cant-route-forwarded-data-to-different-index.html
https://answers.splunk.com/answers/301521/why-is-the-overriding-of-sourcetype-and-index-not.html
https://answers.splunk.com/answers/12098/is-it-possible-to-route-an-overrided-sourcetype-to-other-in...

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...