Hello Yuheng ,
I feel there are 2 approach.
1. Instead of storing the elements in an array , store it as 10 fields
as in element_1 , element_2 and so on. And then do a stat aggregation on
each field.
2. Try using the script facility here -
http://www.elasticsearch.org/guide/en/el
Hi,
I have a field called 'readings' in my logstash messages which is an array
consists of 10 float point numbers.
I want to calculate the stats for each individual slots in those arrays.
For example if I have three readings :
[0,0,0, 1935.25,0,0,0,0,-1235.5, 0]
[0,0,0, 1936.25,0,0,0,0,-1236.