From d76969a431d3177a52be0734e0bde92fbc5aec86 Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Fri, 18 Aug 2017 11:29:08 -0700 Subject: [PATCH] [DOCS] Update example for default model memory limit (elastic/x-pack-elasticsearch#2312) Original commit: elastic/x-pack-elasticsearch@815d63d1bfc8162bd5f8701865228b38e32fb2d0 --- docs/build.gradle | 1 - docs/en/rest-api/ml/put-job.asciidoc | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/build.gradle b/docs/build.gradle index 86f0714fe75..0cfd97cb9ca 100644 --- a/docs/build.gradle +++ b/docs/build.gradle @@ -76,7 +76,6 @@ buildRestTests.expectedUnconvertedCandidates = [ 'en/rest-api/ml/open-job.asciidoc', 'en/rest-api/ml/preview-datafeed.asciidoc', 'en/rest-api/ml/put-datafeed.asciidoc', - 'en/rest-api/ml/put-job.asciidoc', 'en/rest-api/ml/start-datafeed.asciidoc', 'en/rest-api/ml/stop-datafeed.asciidoc', 'en/rest-api/ml/update-datafeed.asciidoc', diff --git a/docs/en/rest-api/ml/put-job.asciidoc b/docs/en/rest-api/ml/put-job.asciidoc index f0008bc5103..f336e01afc4 100644 --- a/docs/en/rest-api/ml/put-job.asciidoc +++ b/docs/en/rest-api/ml/put-job.asciidoc @@ -85,7 +85,6 @@ PUT _xpack/ml/anomaly_detectors/it-ops-kpi } -------------------------------------------------- // CONSOLE -// TEST[skip:todo] When the job is created, you receive the following results: [source,js] @@ -110,6 +109,9 @@ When the job is created, you receive the following results: ], "influencers": [] }, + "analysis_limits": { + "model_memory_limit": "1024mb" + }, "data_description": { "time_field": "@timestamp", "time_format": "epoch_ms" @@ -118,3 +120,6 @@ When the job is created, you receive the following results: "results_index_name": "shared" } ---- +//CONSOLE +//TESTRESPONSE[s/"job_version": "7.0.0-alpha1"/"job_version": $body.job_version/] +//TESTRESPONSE[s/"create_time": 1502832478794/"create_time": $body.create_time/]