| makeresults | eval set="A,B,C,D,E|F,G,H" | eval set=split(set,"|") | mvexpand set | eval set=split(set,",") | streamstats count as rownum | eval cluster_label="cluster"+rownum | eval indikey = set, num_set=mvcount(set) | mvexpand indikey | streamstats count as step by cluster_label | eval key2 = mvindex(set, step, num_set) | eval combo = mvzip(set, key2, ":::") | stats values(set) as set values(combo) as combo by cluster_label | eval num_combo=mvcount(combo) I used ":::" as the delimiter but it can be anything. This generates the field "combo" which contains the combinations in a multivalue field.
... View more