Mean median mode aggregation

How to get mean median mode through aggregation?

I don't see mean as an available aggregate though extended stats and percentile aggregates may give you something close to what you're looking for. If not you may be able to script it.