ElasticSearch之cat datafeeds API

命令样例如下:

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

相关资料

posted @   jackieathome  阅读(13)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
点击右上角即可分享
微信分享提示