Reporting

Expand a macro from a saved search to extract index name

reansh
Observer

I have a requirement to list the most used indexes in the platform. For this I need to prepare a report which shows when indexes was used last time, and how those indexes were used e.g. if the user used it via an ad-hoc search or the index is part of any scheduled saved search.
I am looking into audit data model for it , but this is not listing out indexes when it's defined within a macro. for example I have a scheduled saved search which is having a macro with index and source type definition, how to get that index name extracted via audit logs of saved search execution?

Any inputs please. Thank you!

Labels (3)
0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...