Alerting

Alert if an OU contains any users or computers

paul_beasto
New Member

Hi,

I am interested to create a search and alert when a specific set of OU's contains members. The OU should typically be empty and I would like to receive notification when the OU contains Computers or Users.

I am new to Splunk so apologies in advance if this request is trivial. I have check the forum already before asking but am unable to find an answer.

thanks

Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Write a search that fetches strings containing OUs. Extract the OU field (perhaps using rex) then filter out the empty values ( where isnotnull(OU) is one way). Finally, save the search as an alert and make the triggering condition be number of results is not zero.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...