Skip to content
鼓励作者:欢迎打赏犒劳

elk

安装教程:https://software.share888.top/note/devtool/detail/Elasticsearch.html

查看库列表

shell
GET _cat/indices?v

删除库

shell
DELETE test_index

别名

查看表别名

shell
GET /<index_name>/_alias

结果,表示 test_index_clean 有一个别名 my_data。

shell
{
  "test_index_clean": {
    "aliases": {
      "my_data": {}
    }
  }
}

查看所有表的别名

shell
GET _alias

查看某个别名指向哪些表

shell
GET /_alias/<alias_name>

查询

查询全部

shell
GET /test_index/_search

如有转载或 CV 的请标注本站原文地址