You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
669 B
Plaintext

#// 请求ES集群服务 WebApi
#// 对于基本身份认证Authorization: Basic elastic:es-461400这种形式不成功要把 用户名:密码 进行base64编码即可
#// 全局变量
#// ES集群WebAPI网址
@baseUrl = https://127.0.0.1:9201
#//帐号信息elastic:es-461400 的Base64编码值
@account = ZWxhc3RpYzplcy00NjE0MDA=
### ES集群主页
GET {{baseUrl}}?pretty
Authorization: Basic {{account}}
### 请求ES集群节点信息
GET {{baseUrl}}/_cat/nodes?v
Content-Type: application/json
Authorization: Basic {{account}}
### ES集群健康信息
GET {{baseUrl}}/_cat/health?v
Content-Type: application/json
Authorization: Basic {{account}}