All Apps and Add-ons

Splunk Support for Active Directory: How to find all computers in AD and list those that are not sending logs to Splunk?

mcbradford
Contributor

We have the ldapsearch app installed. I would like to query AD and get a list of all the "ACTIVE" computers that match an OU, then see if these systems are sending logs to Splunk.

Thoughts???

0 Karma

ahall_splunk
Splunk Employee
Splunk Employee

ibondarets
Explorer

this one:

ldapsearch domain=SHELL search="(&(operatingSystem=Server)(objectCategory=computer))" attrs="CN,operatingSystem"

doesn't work by default ad requires changes to AD Forest replication.
This is because "Splunk Support for Active Directory" uses only Global Catalog requests and cannot perform regular LDAP requests for some reason.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

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

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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