[v5.x] How to calculate standard deviation from matrix_stats?


(Thai Quang Le) #1

When executing the below command:
"aggs": {
"matrixstats": {
"matrix_stats": {
"fields": ["my_field"]
}
}
}
The return result just contains values such as count, mean, variance, skewness, kurtosis, covariance, correlation.
I would like to get value of standard deviation, min, max... as well.
Can anyone help to resolve this point? An example will be helpful.
Thanks in advance..!


(system) #2

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