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!

Index This | Why do they call it hyper text?

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

State of Splunk Careers 2023: Career Resilience and the Continued Value of Splunk

For the past three years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

The Great Resilience Quest: 9th Leaderboard Update

The ninth leaderboard update (11.9-11.22) for The Great Resilience Quest is out >> Kudos to all the ...