Following query provides list of all the searches being executed by all the users (including scheduled searches and REST API searches
index=_audit action="search" search="*"
Further, you can differentiate Scheduled searches with adhoc searches using following:
|eval adhoc=if(NOT user="splunk-system-user",1,0) | eval schd=if(user="splunk-system-user",1,0)
Following query provides list of all the searches being executed by all the users (including scheduled searches and REST API searches
index=_audit action="search" search="*"
Further, you can differentiate Scheduled searches with adhoc searches using following:
|eval adhoc=if(NOT user="splunk-system-user",1,0) | eval schd=if(user="splunk-system-user",1,0)
We have a case where they are not being logged so I'm going to track it down. Thanks for your response.