Reporting

how to identify the saved searches enabled for email notification ?

sravanysr
Explorer

I am trying to identify the saved searches enabled with email notification. We have hunderds of saved searches but only few of them enaled for email notification. Is there a way i can query to find the list instead of going to each and every search and looking manually for email enable option.

Tags (1)

dwaddle
SplunkTrust
SplunkTrust

One way is by using Splunk's rest command:

| rest /servicesNS/-/-/saved/searches 
| search is_scheduled=1 AND action.email=1  
| table title, eai:acl.app, eai:acl.owner, *schedule* action.email.to

dwaddle
SplunkTrust
SplunkTrust

Thanks! Please click the checkbox to the left to accept the answer.

0 Karma

sravanysr
Explorer

It works fine. Thanks!

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...