ElasticSearch之cat data frame analytics API

发布时间 2023-11-24 01:06:27作者: jackieathome

命令样例如下:

curl -X GET "https://localhost:9200/_cat/ml/data_frame/analytics?v=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"

执行结果输出如下:

id type create_time state
classifier_job_1 2020-02-12T11:49:09.594Z classification stopped
classifier_job_2 2020-02-12T11:49:14.479Z classification stopped

查看帮助,命令如下:

curl -X GET "https://localhost:9200/_cat/ml/data_frame/analytics?v=true&help=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"

执行结果输出如下:

id                     |                          | the id
type                   | t                        | analysis type
create_time            | ct,createTime            | job creation time
version                | v                        | the version of Elasticsearch when the analytics was created
source_index           | si,sourceIndex           | source index
dest_index             | di,destIndex             | destination index
description            | d                        | description
model_memory_limit     | mml,modelMemoryLimit     | model memory limit
state                  | s                        | job state
failure_reason         | fr,failureReason         | failure reason
progress               | p                        | progress
assignment_explanation | ae,assignmentExplanation | why the job is or is not assigned to a node
node.id                | ni,nodeId                | id of the assigned node
node.name              | nn,nodeName              | name of the assigned node
node.ephemeral_id      | ne,nodeEphemeralId       | ephemeral id of the assigned node
node.address           | na,nodeAddress           | network address of the assigned node

相关资料