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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...