Security

Identify admins being added to multiple groups in ad?

mihall
Path Finder

My search is as follows:
(EventCode=4728 OR EventCode=4732 OR EventCode=4756) a_* (Group_Name= OR Group_Name= OR Group_Name=Group_Name3>

This search works well to identify when any admin account has been added to these groups. I want to know if I can extend this search to identify when 1 admin has been added to more than 1 of these groups. Any help would be appreciated.

0 Karma

cmerriman
Super Champion

try |stats dc(Group_Name) by account to count how many groups belong to the account types.

woodcock
Esteemed Legend

Or maybe:

| stats values(Group_Name) AS Group_Names dc(Group_Name) AS Group_Name_count | where Group_Name_count>1
0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...