dataframeanalytics.asciidoc 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. [role="xpack"]
  2. [testenv="platinum"]
  3. [[cat-dfanalytics]]
  4. === cat {dfanalytics} API
  5. ++++
  6. <titleabbrev>cat {dfanalytics}</titleabbrev>
  7. ++++
  8. Returns configuration and usage information about {dfanalytics-jobs}.
  9. [[cat-dfanalytics-request]]
  10. ==== {api-request-title}
  11. `GET /_cat/ml/data_frame/analytics/<data_frame_analytics_id>` +
  12. `GET /_cat/ml/data_frame/analytics`
  13. [[cat-dfanalytics-prereqs]]
  14. ==== {api-prereq-title}
  15. If the {es} {security-features} are enabled, you must have the following
  16. privileges:
  17. * cluster: `monitor_ml`
  18. For more information, see <<security-privileges>> and {ml-docs}/setup.html[Set up {ml-features}].
  19. ////
  20. [[cat-dfanalytics-desc]]
  21. ==== {api-description-title}
  22. TBD
  23. ////
  24. [[cat-dfanalytics-path-params]]
  25. ==== {api-path-parms-title}
  26. `<data_frame_analytics_id>`::
  27. (Optional, string)
  28. include::{docdir}/ml/ml-shared.asciidoc[tag=job-id-data-frame-analytics-default]
  29. [[cat-dfanalytics-query-params]]
  30. ==== {api-query-parms-title}
  31. include::{docdir}/rest-api/common-parms.asciidoc[tag=http-format]
  32. include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-h]
  33. include::{docdir}/rest-api/common-parms.asciidoc[tag=help]
  34. include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-s]
  35. include::{docdir}/rest-api/common-parms.asciidoc[tag=time]
  36. include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-v]
  37. [[cat-dfanalytics-results]]
  38. ==== {api-response-body-title}
  39. `assignment_explanation`::
  40. include::{docdir}/ml/ml-shared.asciidoc[tag=assignment-explanation-dfanalytics]
  41. +
  42. --
  43. To retrieve this information, specify the `ae` column in the `h` query
  44. parameter.
  45. --
  46. `create_time`::
  47. The time when the {dfanalytics-job} was created. To retrieve this information,
  48. specify the `ct` or `createTime` column in the `h` query parameter.
  49. `description`::
  50. include::{docdir}/ml/ml-shared.asciidoc[tag=description-dfa]
  51. +
  52. --
  53. To retrieve this information, specify the `d` column in the `h` query parameter.
  54. --
  55. `dest_index`::
  56. Name of the destination index. To retrieve this information, specify the `di` or
  57. the `destIndex` column in the `h` query parameter.
  58. `failure_reason`::
  59. Contains messages about the reason why a {dfanalytics-job} failed. To retrieve
  60. this information, specify the `fr` or the `failureReason` column in the `h`
  61. query parameter.
  62. `id`::
  63. include::{docdir}/ml/ml-shared.asciidoc[tag=job-id-data-frame-analytics]
  64. +
  65. --
  66. To retrieve this information, specify the `id` column in the `h` query
  67. parameter.
  68. --
  69. `model_memory_limit`::
  70. The approximate maximum amount of memory resources that are permitted for the
  71. {dfanalytics-job}. To retrieve this information, specify the `mml` or the
  72. `modelMemoryLimit` column in the `h` query parameter.
  73. `node.address`::
  74. The network address of the node that the {dfanalytics-job} is assigned to. To
  75. retrieve this information, specify the `na` or `nodeAddress` column in the `h`
  76. query parameter.
  77. `node.ephemeral_id`::
  78. The ephemeral ID of the node that the {dfanalytics-job} is assigned to. To
  79. retrieve this information, specify the `ne` or `nodeEphemeralId` column in the
  80. `h` query parameter.
  81. `node.id`::
  82. The unique identifier of the node that the {dfanalytics-job} is assigned to. To
  83. retrieve this information, specify the `ni` or `nodeId` column in the `h` query
  84. parameter.
  85. `node.name`::
  86. The name of the node that the {dfanalytics-job} is assigned to. To retrieve this
  87. information, specify the `nn` or `nodeName` column in the `h` query
  88. parameter.
  89. `progress`::
  90. The progress report of the {dfanalytics-job} by phase. To retrieve this
  91. information, specify the `p` column in the `h` query parameter.
  92. `source_index`::
  93. Name of the source index. To retrieve this information, specify the `si` or the
  94. `sourceIndex` column in the `h` query parameter.
  95. `state`::
  96. Current state of the {dfanalytics-job}. To retrieve this information, specify
  97. the `s` column in the `h` query parameter.
  98. `type`::
  99. The type of analysis that the {dfanalytics-job} performs. To retrieve this
  100. information, specify the `t` column in the `h` query parameter.
  101. `version`::
  102. The {es} version number in which the {dfanalytics-job} was created. To retrieve
  103. this information, specify the `v` column in the `h` query parameter.
  104. [[cat-dfanalytics-example]]
  105. ==== {api-examples-title}
  106. [source,console]
  107. --------------------------------------------------
  108. GET _cat/ml/data_frame/analytics?v
  109. --------------------------------------------------
  110. // TEST[skip:kibana sample data]
  111. [source,console-result]
  112. ----
  113. id create_time type state
  114. classifier_job_1 2020-02-12T11:49:09.594Z classification stopped
  115. classifier_job_2 2020-02-12T11:49:14.479Z classification stopped
  116. classifier_job_3 2020-02-12T11:49:16.928Z classification stopped
  117. classifier_job_4 2020-02-12T11:49:19.127Z classification stopped
  118. classifier_job_5 2020-02-12T11:49:21.349Z classification stopped
  119. ----
  120. // TESTRESPONSE[skip:kibana sample data]