From 9fdc67c845df9cce4acfdef51f51ab2b3b5f7ad4 Mon Sep 17 00:00:00 2001 From: Zing Zai <9292451+2gavy@users.noreply.github.com> Date: Thu, 9 Nov 2023 22:44:55 +0800 Subject: [PATCH] Update movfn-aggregation.asciidoc (#101959) Updated one-day to one-month interval to match the code --- docs/reference/aggregations/pipeline/movfn-aggregation.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/aggregations/pipeline/movfn-aggregation.asciidoc b/docs/reference/aggregations/pipeline/movfn-aggregation.asciidoc index b5f1315531916..44a00b9f5b99e 100644 --- a/docs/reference/aggregations/pipeline/movfn-aggregation.asciidoc +++ b/docs/reference/aggregations/pipeline/movfn-aggregation.asciidoc @@ -68,7 +68,7 @@ POST /_search -------------------------------------------------- // TEST[setup:sales] -<1> A `date_histogram` named "my_date_histo" is constructed on the "timestamp" field, with one-day intervals +<1> A `date_histogram` named "my_date_histo" is constructed on the "timestamp" field, with one-month intervals <2> A `sum` metric is used to calculate the sum of a field. This could be any numeric metric (sum, min, max, etc) <3> Finally, we specify a `moving_fn` aggregation which uses "the_sum" metric as its input.