详细参数
查看节点(每个命令都接受一个查询字符串参数v以打开详细输出)
v
127.0.0.1:9200/_cat/master?v
帮助
每个命令都接受一个查询字符串参数help
help
http://127.0.0.1:9200/_cat/master?help
字段
显示节点对应数据(ip 端口 占比 名称)(每个命令都接受一个查询字符串参数h)
h
http://127.0.0.1:9200/_cat/nodes?h=ip,port,heapPercent,name
*(所有列)
格式
查看所有索引信息(所有分片使用的存储,而不是文档数量)
format
http://127.0.0.1:9200/_cat/indices?v
已json格式显示
http://127.0.0.1:9200/_cat/indices?format=json&pretty
支持的格式
text (default) - json - smile - yaml - cbor
字节单位
用于显示字节值的单位(b、mb、g)
bytes
127.0.0.1:9200/_cat/master?v&bytes=b
排序
排序控制
s
http://127.0.0.1:9200/_cat/templates?v&s=order:desc,index_patterns
节点参数
http://127.0.0.1:9200/_cat/allocation?v
shards 1
disk.indices 260b
disk.used 47.3gb
disk.avail 43.4gb
disk.total 100.7gb
disk.percent 46
host 127.0.0.1
ip 127.0.0.1
node CSUXak2
查看文档数量
http://127.0.0.1:9200/_cat/count/<index>?v
返回集群中每个数据节点上的字段数据当前使用的堆内存量
http://127.0.0.1:9200/_cat/fielddata?v
指定字段
http://127.0.0.1:9200/_cat/fielddata/body,soul?v
查看节点健康状态
http://127.0.0.1:9200/_cat/health?v
去除时间与排序
http://127.0.0.1:9200/_cat/health?v&ts=false
查看索引列表信息
http://127.0.0.1:9200/_cat/indices?v
查看单个索引信息
http://127.0.0.1:9200/_cat/indices/org?v
查看有关主节点的信息,包括ID,绑定的IP地址和名称
127.0.0.1:9200/_cat/master?v
返回有关自定义节点属性的信息
http://127.0.0.1:9200/_cat/nodeattrs?v
查看节点信息
http://127.0.0.1:9200/_cat/nodes?v
返回尚未执行的集群级更改
http://127.0.0.1:9200/_cat/pending_tasks?v
返回在集群的每个节点上运行的插件列表
http://127.0.0.1:9200/_cat/plugins?v
返回有关正在进行和已完成的分片恢复的信息
http://127.0.0.1:9200/_cat/recovery/<index>
返回集群的快照存储库
http://127.0.0.1:9200/_cat/repositories?v