当前位置:   article > 正文

ES常见命令汇总

ES常见命令汇总

GET /_alias/content_erp_nlp_help_alia

POST /_aliases
{
  "actions" : [
    {
      "remove" : {
        "index" : "content_erp_nlp_help202407231731",
        "alias" : "content_erp_nlp_help_alia"
      }
    }
  ]
}

GET /_alias/content_erp_nlp_help_alia_test

GET /_index_template/content_erp_nlp_help

GET /_cat/indices/content_erp_nlp_help_202407231749

GET /content_erp_nlp_help_202407231749/_settings

DELETE /content_erp_nlp_help202407231733


POST /content_erp_nlp_help_202407231749/_delete_by_query
{

  "query": {

    "match_all": {}

  }

}
 

关闭kibana里的监控,避免产生过多索引

DELETE /.monitoring-es-7-2024.07.24

DELETE .monitoring-kibana-7-2024.07.24

PUT _cluster/settings
{
  "persistent": {
    "xpack.monitoring.collection.enabled": false  
  }
}

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号