2020-02-26 05:09:37 -05:00
|
|
|
[role="xpack"]
|
|
|
|
[testenv="platinum"]
|
|
|
|
[[cat-dfanalytics]]
|
|
|
|
=== cat {dfanalytics} API
|
|
|
|
++++
|
|
|
|
<titleabbrev>cat {dfanalytics}</titleabbrev>
|
|
|
|
++++
|
|
|
|
|
|
|
|
Returns configuration and usage information about {dfanalytics-jobs}.
|
|
|
|
|
|
|
|
|
|
|
|
[[cat-dfanalytics-request]]
|
|
|
|
==== {api-request-title}
|
|
|
|
|
|
|
|
`GET /_cat/ml/data_frame/analytics/<data_frame_analytics_id>` +
|
|
|
|
|
|
|
|
`GET /_cat/ml/data_frame/analytics`
|
|
|
|
|
|
|
|
|
|
|
|
[[cat-dfanalytics-prereqs]]
|
|
|
|
==== {api-prereq-title}
|
|
|
|
|
|
|
|
If the {es} {security-features} are enabled, you must have the following
|
|
|
|
privileges:
|
|
|
|
|
|
|
|
* cluster: `monitor_ml`
|
|
|
|
|
|
|
|
For more information, see <<security-privileges>> and {ml-docs}/setup.html[Set up {ml-features}].
|
|
|
|
|
|
|
|
|
|
|
|
////
|
|
|
|
[[cat-dfanalytics-desc]]
|
|
|
|
==== {api-description-title}
|
|
|
|
////
|
|
|
|
|
2020-02-27 08:20:29 -05:00
|
|
|
|
2020-02-26 05:09:37 -05:00
|
|
|
[[cat-dfanalytics-path-params]]
|
|
|
|
==== {api-path-parms-title}
|
|
|
|
|
|
|
|
`<data_frame_analytics_id>`::
|
|
|
|
(Optional, string)
|
|
|
|
include::{docdir}/ml/ml-shared.asciidoc[tag=job-id-data-frame-analytics-default]
|
|
|
|
|
|
|
|
|
|
|
|
[[cat-dfanalytics-query-params]]
|
|
|
|
==== {api-query-parms-title}
|
|
|
|
|
|
|
|
include::{docdir}/rest-api/common-parms.asciidoc[tag=http-format]
|
|
|
|
|
|
|
|
include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-h]
|
2020-02-27 08:20:29 -05:00
|
|
|
+
|
|
|
|
If you do not specify which columns to include, the API returns the default
|
|
|
|
columns. If you explicitly specify one or more columns, it returns only the
|
|
|
|
specified columns.
|
|
|
|
+
|
|
|
|
Valid columns are:
|
2020-02-26 05:09:37 -05:00
|
|
|
|
2020-02-27 08:20:29 -05:00
|
|
|
`assignment_explanation`, `ae`:::
|
|
|
|
include::{docdir}/ml/ml-shared.asciidoc[tag=assignment-explanation-dfanalytics]
|
2020-02-26 05:09:37 -05:00
|
|
|
|
2020-02-27 08:20:29 -05:00
|
|
|
`create_time`, `ct`, `createTime`:::
|
|
|
|
(Default)
|
|
|
|
The time when the {dfanalytics-job} was created.
|
2020-02-26 05:09:37 -05:00
|
|
|
|
2020-02-27 08:20:29 -05:00
|
|
|
`description`, `d`:::
|
|
|
|
include::{docdir}/ml/ml-shared.asciidoc[tag=description-dfa]
|
2020-02-26 05:09:37 -05:00
|
|
|
|
2020-02-27 08:20:29 -05:00
|
|
|
`dest_index`, `di`, `destIndex`:::
|
|
|
|
Name of the destination index.
|
2020-02-26 05:09:37 -05:00
|
|
|
|
2020-02-27 08:20:29 -05:00
|
|
|
`failure_reason`, `fr`, `failureReason`:::
|
|
|
|
Contains messages about the reason why a {dfanalytics-job} failed.
|
2020-02-26 05:09:37 -05:00
|
|
|
|
2020-02-27 08:20:29 -05:00
|
|
|
`id`:::
|
|
|
|
(Default)
|
|
|
|
include::{docdir}/ml/ml-shared.asciidoc[tag=job-id-data-frame-analytics]
|
2020-02-26 05:09:37 -05:00
|
|
|
|
2020-02-27 08:20:29 -05:00
|
|
|
`model_memory_limit`, `mml`, `modelMemoryLimit`:::
|
|
|
|
The approximate maximum amount of memory resources that are permitted for the
|
|
|
|
{dfanalytics-job}.
|
2020-02-26 05:09:37 -05:00
|
|
|
|
2020-02-27 08:20:29 -05:00
|
|
|
`node.address`, `na`, `nodeAddress`:::
|
|
|
|
The network address of the node that the {dfanalytics-job} is assigned to.
|
2020-02-26 05:09:37 -05:00
|
|
|
|
2020-02-27 08:20:29 -05:00
|
|
|
`node.ephemeral_id`, `ne`, `nodeEphemeralId`:::
|
|
|
|
The ephemeral ID of the node that the {dfanalytics-job} is assigned to.
|
2020-02-26 05:09:37 -05:00
|
|
|
|
2020-02-27 08:20:29 -05:00
|
|
|
`node.id`, `ni`, `nodeId`:::
|
|
|
|
The unique identifier of the node that the {dfanalytics-job} is assigned to.
|
2020-02-26 05:09:37 -05:00
|
|
|
|
2020-02-27 08:20:29 -05:00
|
|
|
`node.name`, `nn`, `nodeName`:::
|
|
|
|
The name of the node that the {dfanalytics-job} is assigned to.
|
2020-02-26 05:09:37 -05:00
|
|
|
|
2020-02-27 08:20:29 -05:00
|
|
|
`progress`, `p`:::
|
|
|
|
The progress report of the {dfanalytics-job} by phase.
|
2020-02-26 05:09:37 -05:00
|
|
|
|
2020-02-27 08:20:29 -05:00
|
|
|
`source_index`, `si`, `sourceIndex`:::
|
|
|
|
Name of the source index.
|
|
|
|
|
|
|
|
`state`, `s`:::
|
|
|
|
(Default)
|
|
|
|
Current state of the {dfanalytics-job}.
|
|
|
|
|
|
|
|
`type`, `t`:::
|
|
|
|
(Default)
|
|
|
|
The type of analysis that the {dfanalytics-job} performs.
|
|
|
|
|
|
|
|
`version`, `v`:::
|
|
|
|
The {es} version number in which the {dfanalytics-job} was created.
|
|
|
|
|
|
|
|
include::{docdir}/rest-api/common-parms.asciidoc[tag=help]
|
|
|
|
|
|
|
|
include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-s]
|
|
|
|
|
|
|
|
include::{docdir}/rest-api/common-parms.asciidoc[tag=time]
|
|
|
|
|
|
|
|
include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-v]
|
2020-02-26 05:09:37 -05:00
|
|
|
|
|
|
|
|
|
|
|
[[cat-dfanalytics-example]]
|
|
|
|
==== {api-examples-title}
|
|
|
|
|
|
|
|
[source,console]
|
|
|
|
--------------------------------------------------
|
|
|
|
GET _cat/ml/data_frame/analytics?v
|
|
|
|
--------------------------------------------------
|
|
|
|
// TEST[skip:kibana sample data]
|
|
|
|
|
|
|
|
[source,console-result]
|
|
|
|
----
|
|
|
|
id create_time type state
|
|
|
|
classifier_job_1 2020-02-12T11:49:09.594Z classification stopped
|
|
|
|
classifier_job_2 2020-02-12T11:49:14.479Z classification stopped
|
|
|
|
classifier_job_3 2020-02-12T11:49:16.928Z classification stopped
|
|
|
|
classifier_job_4 2020-02-12T11:49:19.127Z classification stopped
|
|
|
|
classifier_job_5 2020-02-12T11:49:21.349Z classification stopped
|
|
|
|
----
|
|
|
|
// TESTRESPONSE[skip:kibana sample data]
|