From af8571b037730bfc0467830f3802b5e9316122dc Mon Sep 17 00:00:00 2001 From: lcawl Date: Mon, 10 Dec 2018 08:15:15 -0800 Subject: [PATCH] [DOCS] Deprecate X-Pack-centric ML endpoints --- docs/en/stack/ml/api-quickref.asciidoc | 2 +- docs/en/stack/ml/getting-started-next.asciidoc | 4 ++-- docs/en/stack/ml/troubleshooting.asciidoc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/stack/ml/api-quickref.asciidoc b/docs/en/stack/ml/api-quickref.asciidoc index 9212205e5..0514dc313 100644 --- a/docs/en/stack/ml/api-quickref.asciidoc +++ b/docs/en/stack/ml/api-quickref.asciidoc @@ -6,7 +6,7 @@ All {ml} endpoints have the following base: [source,js] ---- -/_xpack/ml/ +/_ml/ ---- // NOTCONSOLE diff --git a/docs/en/stack/ml/getting-started-next.asciidoc b/docs/en/stack/ml/getting-started-next.asciidoc index 5c895ef05..3af3e6874 100644 --- a/docs/en/stack/ml/getting-started-next.asciidoc +++ b/docs/en/stack/ml/getting-started-next.asciidoc @@ -19,9 +19,9 @@ For example, the following APIs retrieve information about the jobs and {dfeeds} [source,js] -------------------------------------------------- -GET _xpack/ml/anomaly_detectors +GET _ml/anomaly_detectors -GET _xpack/ml/datafeeds +GET _ml/datafeeds -------------------------------------------------- // CONSOLE diff --git a/docs/en/stack/ml/troubleshooting.asciidoc b/docs/en/stack/ml/troubleshooting.asciidoc index d6570980a..a49d7010d 100644 --- a/docs/en/stack/ml/troubleshooting.asciidoc +++ b/docs/en/stack/ml/troubleshooting.asciidoc @@ -28,7 +28,7 @@ indicate that {xpack} is enabled. * Errors when you click *Machine Learning* in {kib}. For example: `Jobs list could not be created` and `An internal server error occurred`. * Null pointer and remote transport exceptions when you run {ml} APIs such as -`GET _xpack/ml/anomaly_detectors` and `GET _xpack/ml/datafeeds`. +`GET _ml/anomaly_detectors` and `GET _ml/datafeeds`. * Errors in the log files on the master nodes. For example: `unable to install ml metadata upon startup`