func()

in pkg/client/elasticsearch/discovery.go [152:163]


func (r *recorder) processMappingDocument(mapping interface{}, fields config.FieldsSet, indices []string) {
	tm, ok := mapping.(map[string]interface{})
	if !ok {
		return
	}
	rp := tm["properties"]
	rpm, ok := rp.(map[string]interface{})
	if !ok {
		return
	}
	r._processMappingDocument("", rpm, fields, indices)
}