I am looking for some tool/way to get the Splunk index/lookup usage in the system
for example to get all lookups that are not used in the system
what is the best way to do it ?
You could find all the search strings from your dashboards and reports etc. using the ReST interface, and find all the instances of lookup. However, this assumes that your users aren't doing ad hoc queries using lookups which aren't already mentioned in the found searches. Also, the lookups are not necessarily hard coded in the searches and can be set dynamically through tokens. All of this seems a lot of effort, for potentially little reward?
You could find all the search strings from your dashboards and reports etc. using the ReST interface, and find all the instances of lookup. However, this assumes that your users aren't doing ad hoc queries using lookups which aren't already mentioned in the found searches. Also, the lookups are not necessarily hard coded in the searches and can be set dynamically through tokens. All of this seems a lot of effort, for potentially little reward?
there is an app https://splunkbase.splunk.com/app/5399/
I understand but we are getting DistributedBundleReplication error once in a while so I want to avoid it