使用_cat查看Elasticsearch状态
所属分类 elasticsearch
浏览量 890
localhost:9200/_cat
=^.^=
/_cat/allocation
/_cat/shards
/_cat/shards/{index}
/_cat/master
/_cat/nodes
/_cat/indices
/_cat/indices/{index}
/_cat/segments
/_cat/segments/{index}
/_cat/count
/_cat/count/{index}
/_cat/recovery
/_cat/recovery/{index}
/_cat/health
/_cat/pending_tasks
/_cat/aliases
/_cat/aliases/{alias}
/_cat/thread_pool
/_cat/plugins
/_cat/fielddata
/_cat/fielddata/{fields}
/_cat/nodeattrs
/_cat/repositories
/_cat/snapshots/{repository}
verbose
?v 显示详细信息 显示表头
help
localhost:9200/_cat/master?help
id | | node id
host | h | host name
ip | | ip address
node | n | node name
headers
h 指定输出字段
/_cat/master?h=host,ip,node
10.58.10.125 10.58.10.125 node-1
/_cat/master?v&h=host,ip
host ip
10.58.10.125 10.58.10.125
format 返回内容格式,支持json,yaml,text,smile,cbor
/_cat/master?format=json&pretty
sort排序
/_cat/indices?s=store.size:desc
ElasticSearch 状态查询Cat接口
上一篇
下一篇
java NIO 服务端例子2
Spring容器初始化过程
中国诗词巅峰40首
Elasticsearch Scroll 滚动查询实例
DevOps简介
Flink理论基础