From dbd7e7793ad828faa4eff602da4d5a245afada8e Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Mon, 27 Jul 2020 12:08:33 -0400 Subject: [PATCH] [DOCS] Fix default gap policy for moving fn, moving avg aggs (#60223) --- .../reference/aggregations/pipeline/movavg-aggregation.asciidoc | 2 +- docs/reference/aggregations/pipeline/movfn-aggregation.asciidoc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference/aggregations/pipeline/movavg-aggregation.asciidoc b/docs/reference/aggregations/pipeline/movavg-aggregation.asciidoc index ffebab6e34c..14fd1999bc3 100644 --- a/docs/reference/aggregations/pipeline/movavg-aggregation.asciidoc +++ b/docs/reference/aggregations/pipeline/movavg-aggregation.asciidoc @@ -41,7 +41,7 @@ A `moving_avg` aggregation looks like this in isolation: |Parameter Name |Description |Required |Default Value |`buckets_path` |Path to the metric of interest (see <> for more details |Required | |`model` |The moving average weighting model that we wish to use |Optional |`simple` -|`gap_policy` |Determines what should happen when a gap in the data is encountered. |Optional |`insert_zeros` +|`gap_policy` |The policy to apply when gaps are found in the data. See <>. |Optional |`skip` |`window` |The size of window to "slide" across the histogram. |Optional |`5` |`minimize` |If the model should be algorithmically minimized. See <> for more details |Optional |`false` for most models diff --git a/docs/reference/aggregations/pipeline/movfn-aggregation.asciidoc b/docs/reference/aggregations/pipeline/movfn-aggregation.asciidoc index 514d990df48..36eadba2e69 100644 --- a/docs/reference/aggregations/pipeline/movfn-aggregation.asciidoc +++ b/docs/reference/aggregations/pipeline/movfn-aggregation.asciidoc @@ -32,6 +32,7 @@ A `moving_fn` aggregation looks like this in isolation: |`buckets_path` |Path to the metric of interest (see <> for more details |Required | |`window` |The size of window to "slide" across the histogram. |Required | |`script` |The script that should be executed on each window of data |Required | +|`gap_policy` |The policy to apply when gaps are found in the data. See <>. |Optional |`skip` |`shift` |<> of window position. |Optional | 0 |===