Can I use previous aggregation key in a script?

(Cristina Lazin) #1

I have a chain of Bucketing Aggregations. Inside I want to apply a Filter Aggregation having the must bool condition defined by a script.

The filter condition should depend on the value of one bucket key from the chain.

Is it possible to define a script parameter that holds the key of a parent aggregation?

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.