命令样例如下:
curl -X GET "https://localhost:9200/_cat/repositories?v=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"
执行结果输出如下:
id type
repo1 fs
repo2 s3
查看帮助,命令如下:
curl -X GET "https://localhost:9200/_cat/repositories?v=true&help=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"
执行结果输出如下:
id | id,repoId | unique repository id
type | t,type | repository type
相关资料
- ElasticSearch repositories API catelasticsearch repositories api cat elasticsearch segments api cat elasticsearch plugins api cat elasticsearch datafeeds api cat elasticsearch transforms api cat elasticsearch health api cat elasticsearch allocation api cat elasticsearch indices api cat elasticsearch recovery api cat elasticsearch fielddata api cat