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!

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