From 2f1693c0fda149f74b677e02fb0f59638b8095d9 Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Wed, 28 Jun 2017 10:23:32 -0700 Subject: [PATCH] [DOCS] Update ML open job API (elastic/x-pack-elasticsearch#1875) Original commit: elastic/x-pack-elasticsearch@00a76d79ae6f90e9d112fb2043f07fad1b585c5f --- docs/en/rest-api/ml/open-job.asciidoc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/en/rest-api/ml/open-job.asciidoc b/docs/en/rest-api/ml/open-job.asciidoc index 074bd60ba52..0980a223004 100644 --- a/docs/en/rest-api/ml/open-job.asciidoc +++ b/docs/en/rest-api/ml/open-job.asciidoc @@ -29,14 +29,10 @@ The job is ready to resume its analysis from where it left off, once new data is ==== Request Body -`open_timeout`:: +`timeout`:: (time) Controls the time to wait until a job has opened. The default value is 30 minutes. -`ignore_downtime`:: - (boolean) If true (default), any gap in data since it was - last closed is treated as a maintenance window. That is to say, it is not an anomaly - ==== Authorization @@ -54,7 +50,7 @@ The following example opens the `event_rate` job and sets an optional property: -------------------------------------------------- POST _xpack/ml/anomaly_detectors/event_rate/_open { - "ignore_downtime": false + "timeout": "35m" } -------------------------------------------------- // CONSOLE