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!

Monitoring Postgres with OpenTelemetry

Behind every business-critical application, you’ll find databases. These behind-the-scenes stores power ...

Mastering Synthetic Browser Testing: Pro Tips to Keep Your Web App Running Smoothly

To start, if you're new to synthetic monitoring, I recommend exploring this synthetic monitoring overview. In ...

Splunk Edge Processor | Popular Use Cases to Get Started with Edge Processor

Splunk Edge Processor offers more efficient, flexible data transformation – helping you reduce noise, control ...