we have a lot of contents/knoweldge objects and are trying to weed out the ones that are unused. We are using Enterprise Security and other apps.
I have identified a few `Macros` that I want to remove/delete, but before that I want to make sure that they are not used in any Splunk Saved search/correlation search/loop up generating search Or within any SPL for that matter.
Is there a way to find it ?
You can use these also for identifying use of macros.
| rest /services/saved/searches | table search | search search="*<<ENTER_MACRO_NAME>>*"
| rest/servicesNS/-/-/data/ui/views | table "eai:data" | search "eai:data"="*<<ENTER_MACRO_NAME>>*"
KV
You can use these also for identifying use of macros.
| rest /services/saved/searches | table search | search search="*<<ENTER_MACRO_NAME>>*"
| rest/servicesNS/-/-/data/ui/views | table "eai:data" | search "eai:data"="*<<ENTER_MACRO_NAME>>*"
KV
You can use the REST endpoint.
| rest/servicesNS/-/-/data/lookup-table-files