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
Revered Legend

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!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...