索引查询

  http://10.199.137.115:9200/_cat/indices?format=json 返回json字符串的索引状态

  

  增加索引名称过滤

  http://10.199.137.115:9200/_cat/indices/sbf*?format=json

  

  增加健康状态过滤

  http://10.199.137.115:9200/_cat/indices/sbf*?format=json&health=yellow

  增加排序字段

  http://10.199.137.115:9200/_cat/indices/sbf*?format=json&health=yellow&s=index:desc

  http://10.199.137.115:9200/_cat/indices/sbf*?format=json&health=yellow&s=index

  :desc倒序

 

posted on 2019-04-04 14:26  Rohero  阅读(1112)  评论(0编辑  收藏  举报