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!

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 ...