|
@@ -8,16 +8,16 @@ be generated by a provided script.
|
|
|
|
|
|
[NOTE]
|
|
|
==================================================
|
|
|
-Please see <<search-aggregations-metrics-percentile-aggregation-approximation>>
|
|
|
-and <<search-aggregations-metrics-percentile-aggregation-compression>> for advice
|
|
|
+Please see <<search-aggregations-metrics-percentile-aggregation-approximation>>
|
|
|
+and <<search-aggregations-metrics-percentile-aggregation-compression>> for advice
|
|
|
regarding approximation and memory use of the percentile ranks aggregation
|
|
|
==================================================
|
|
|
|
|
|
-Percentile rank show the percentage of observed values which are below certain
|
|
|
+Percentile rank show the percentage of observed values which are below certain
|
|
|
value. For example, if a value is greater than or equal to 95% of the observed values
|
|
|
it is said to be at the 95th percentile rank.
|
|
|
|
|
|
-Assume your data consists of website load times. You may have a service agreement that
|
|
|
+Assume your data consists of website load times. You may have a service agreement that
|
|
|
95% of page loads completely within 15ms and 99% of page loads complete within 30ms.
|
|
|
|
|
|
Let's look at a range of percentiles representing load time:
|
|
@@ -55,7 +55,7 @@ The response will look like this:
|
|
|
}
|
|
|
--------------------------------------------------
|
|
|
|
|
|
-From this information you can determine you are hitting the 99% load time target but not quite
|
|
|
+From this information you can determine you are hitting the 99% load time target but not quite
|
|
|
hitting the 95% load time target
|
|
|
|
|
|
|
|
@@ -84,3 +84,5 @@ a script to convert them on-the-fly:
|
|
|
<1> The `field` parameter is replaced with a `script` parameter, which uses the
|
|
|
script to generate values which percentile ranks are calculated on
|
|
|
<2> Scripting supports parameterized input just like any other script
|
|
|
+
|
|
|
+TIP: The `script` parameter expects an inline script. Use `script_id` for indexed scripts and `script_file` for scripts in the `config/scripts/` directory.
|