Sum divided by Unique Count

I want to make a visualization that x is time and y is Sum / Unique Count.
I don't understand bucket script for example and menual.
I would like to know how to make a aggregation by calculating other aggregations.
Example plz...

Have a look at this kibana plugin:

Maybe this is what you are looking for.

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