Elasticsearch

一、集群状态查看

1:查看集群健康状态
    GET /_cat/health?v

2:查看节点状态;
    GET /_cat/nodes?v

3:查看所有索引信息
    GET /_cat/indices?v

4:查看主节点
    GET /_cat/master?v

二、索引操作

1:创建索引并查看;
    PUT /customer
    GET /_cat/indices?v

2:删除索引并查看
    DELETE /customer
    GET /_cat/indices?v
上一篇:Shell 常用命令总结


下一篇:shell函数