Skip to main content

简要查看 cat

cat count

查看文档总数

GET /_cat/count

cat indices

查看索引

GET /_cat/indices

# 前缀查询
GET /_cat/indices/twi*?v&s=index

# 存在未分配shard的索引
GET /_cat/indices?v&health=yellow
tip

?v 带上列名

cat shards

查看分片

GET _cat/shards

GET _cat/shards?h=index,shard,state,prirep,store.bytes,docs,segments.count,tier

GET _cat/shards/twitt*
tip

?h 指定查看的列

cat segments

查看分片的段

GET /_cat/segments?v

cat aliases

查看别名

GET /_cat/aliases

cat templates

查看模板

GET /_cat/templates