cat_indices
List and filter Elasticsearch/OpenSearch indices to view health status, document counts, and storage size. Use parameters to sort results and focus on specific indices or health states.
Instructions
获取索引列表
参数:
index: 索引名称/模式(可选)
health: 健康状态过滤 green/yellow/red
pri: 仅显示主分片统计
sort_by: 排序字段 如 store.size/docs.count
order: 排序方向 asc/desc
返回索引名称、健康状态、文档数、存储大小等
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| health | No | ||
| pri | No | ||
| sort_by | No | ||
| order | No | asc |