lsstat returns various summary stats per bucket for the specified field. The field must be numeric in elastic.
rStat can be one of avg, min, max, sum, sum_of_squares, variance, std_deviation.
The rest of the fields behave the same as lscount, except that there is no division based on bucketDuratio...