命令样例如下:
curl -X GET "https://localhost:9200/_cat/ml/datafeeds?v=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"
执行结果输出如下:
id state buckets.count search.count
datafeed-high_sum_total_sales stopped 743 7
datafeed-low_request_rate stopped 1457 3
查看帮助,命令如下:
curl -X GET "https://localhost:9200/_cat/ml/datafeeds?v=true&help=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"
执行结果输出如下:
id | | the datafeed_id
state | s | the datafeed state
assignment_explanation | ae | why the datafeed is or is not assigned to a node
buckets.count | bc,bucketsCount | bucket count
search.count | sc,searchCount | number of searches ran by the datafeed
search.time | st,searchTime | the total search time
search.bucket_avg | sba,searchBucketAvg | the average search time per bucket (millisecond)
search.exp_avg_hour | seah,searchExpAvgHour | the exponential average search time per hour (millisecond)
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
相关资料
- ElasticSearch datafeeds API catelasticsearch datafeeds api cat elasticsearch segments api cat elasticsearch plugins api cat elasticsearch repositories api cat elasticsearch allocation api cat elasticsearch indices api cat elasticsearch templates api cat elasticsearch recovery api cat elasticsearch transforms api cat elasticsearch master api cat