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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...