dataframeanalytics.asciidoc 3.7 KB

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