ElasticSearch之cat aliases API

执行aliases命令,如下:

curl -X GET "https://localhost:9200/_cat/aliases?pretty&v=true" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"

执行结果输出如下:

alias     index       filter routing.index routing.search is_write_index
.security .security-7 -      -             -              -

查看帮助信息,命令如下:

curl -X GET "https://localhost:9200/_cat/aliases?pretty&help=true" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"

执行结果输出如下:

alias          | a                | alias name
index          | i,idx            | index alias points to
filter         | f,fi             | filter
routing.index  | ri,routingIndex  | index routing
routing.search | rs,routingSearch | search routing
is_write_index | w,isWriteIndex   | write index

相关资料

  • cat aliases API
  • Aliases

你可能感兴趣的:(elasticsearch,linux)