Hi,
I want to extract list of all the views,searches, dashboards that use a particular index, say , idx_abc and the fields used in them all.
List of views and searches part is done (open for suggestions) :
List of searches :
| rest timeout=600 splunk_server=local /servicesNS/-/-/saved/searches|eval scheduled=if(is_scheduled=1,"yes","no")|where like(search,"%idx_abc%")|table title search scheduled
List of views :
| rest /servicesNS/-/-/data/ui/views splunk_server=*|rename eai:data as data|where like (data,"%idx_abc%")|table label, data
How to get list of fields used ???
Also , there might be eventtypes and macros making use of idx_abc (though i have checked manually at UI) . Still any idea of a query ?
Thanks,
Shraddha
... View more