parent
8f873620ee
commit
09c5fbfd00
|
@ -33,7 +33,7 @@ A `extended_stats_bucket` aggregation looks like this in isolation:
|
||||||
|`sigma` |The number of standard deviations above/below the mean to display |Optional | 2
|
|`sigma` |The number of standard deviations above/below the mean to display |Optional | 2
|
||||||
|===
|
|===
|
||||||
|
|
||||||
The following snippet calculates the sum of all the total monthly `sales` buckets:
|
The following snippet calculates the extended stats for monthly `sales` bucket:
|
||||||
|
|
||||||
[source,js]
|
[source,js]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
|
@ -31,7 +31,7 @@ A `percentiles_bucket` aggregation looks like this in isolation:
|
||||||
|`percents` |The list of percentiles to calculate |Optional | `[ 1, 5, 25, 50, 75, 95, 99 ]`
|
|`percents` |The list of percentiles to calculate |Optional | `[ 1, 5, 25, 50, 75, 95, 99 ]`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
The following snippet calculates the sum of all the total monthly `sales` buckets:
|
The following snippet calculates the percentiles for the total monthly `sales` buckets:
|
||||||
|
|
||||||
[source,js]
|
[source,js]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
|
@ -30,7 +30,7 @@ A `stats_bucket` aggregation looks like this in isolation:
|
||||||
|`format` |format to apply to the output value of this aggregation |Optional | `null`
|
|`format` |format to apply to the output value of this aggregation |Optional | `null`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
The following snippet calculates the sum of all the total monthly `sales` buckets:
|
The following snippet calculates the stats for monthly `sales`:
|
||||||
|
|
||||||
[source,js]
|
[source,js]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue