Splunk Search

How can I find searches using a specific index?

daniel333
Builder

All,

I am breaking my index=windows up into index=oswin and index=oswinsec.

Any tricks or tools to search for searches, reports, dashboard, macros, tags, eventtypes, data model etc that might be tied to that index?

0 Karma

DalJeanis
SplunkTrust
SplunkTrust

Assuming you have access to the _audit index, you can just literally search for events in the _audit index where the search field has your index name in them.

You will probably also want to do a search for reports and scheduled or saved searches using the appropriate endpoint, then filtering for searches that have the index name. This latter method will only, however, find searches that you have access to see. For instance, they must be at the app or global level, not someone else's personal saved search.

0 Karma