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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...