Reporting

create a report which includes saved searches, rest api serarches and adhoc searches

srinivasup
Explorer

create a report which includes saved searches, rest api serarches and adhoc searches

Tags (1)
0 Karma

somesoni2
SplunkTrust
SplunkTrust

Give this a try

index=_audit sourcetype=audittrail action=search info=granted | eval type=case(like(search_id,"'scheduler_%"),"scheduled search",extra_fields="'*'","adhoc-search",1=1,"RestAPI search") | stats dc(search_id) as count by type
0 Karma

woodcock
Esteemed Legend

You need to explore the REST API; start here:
https://www.splunk.com/blog/2008/03/03/exploring-splunks-rest-api.html

0 Karma

srinivasup
Explorer

From last 24 hrs, how many adhoc searches, saved searches and Rest searches are invoked.

Want to get logs from internal logs,

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