Sorry kind of fell off there, but just wanted to update in case others see this. Basically the problem is for the "fully populated" case. For fully populated data, why not use this? index=example
| stats avg(field1) perc95(field2) by x,y,z a,b,c I may not have been very clear here, but basically this would not work because what I'm looking for is: avg(field1) perc95(field2) x y z a b c f1g1 10 20 30 f2g2 1 2 3 f1g3 40 50 60 f2g4 4 5 6 Here we have agg stats for four groups, g1to g4. For example g1 represents the stats for the grouping x=10, y=20, z=30, a=*, b=*, c=*, and g4 represents the stats for the group of transactions with x=*, y=*, z=*, a=4, b=5, c=6. Just a stats doesn't help us here because of overlap, for instance g1 contains events of g2 (g1 contains events with a=1,b=2,c=3 and g2 contains events with x=10,y=20,z=30)
... View more