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
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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

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

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...