查看集群配置
更新时间:2025-01-08
接口描述
查看集群配置
API调用地址
POST /api/bes/cluster/config/info
请求参数
Header 参数
参数名 | 类型 | 是否必须 | 描述 | 示例值 |
---|---|---|---|---|
x-Region | String | 是 | 区域 | bd |
Body 参数
参数名称 | 必填 | 类型 | 描述 | 示例值 |
---|---|---|---|---|
clusterId | 是 | String | 集群id,超过规定18位会返回500错误 | 572979545519558656 |
示例
{
"clusterId":"644734225693675520"
}
响应参数
参数名称 | 参数类型 | 描述 | 示例值 |
---|---|---|---|
success | Boolean | 请求是否成功 | true |
status | Integer | 状态码 | 200 |
result | Result | config信息 |
Result字段数据结构说明
参数名称 | 参数类型 | 描述 | 示例值 |
---|---|---|---|
esNodeExtraConfig | String | es节点信息 | cluster.publish.timeout: 180s |
kibanaExtraConfig | String | kibana节点信息 | ops.interval: 100 |
示例
{
"result" : {
"kibanaExtraConfig" : "ops.interval: 100",
"esNodeExtraConfig" : "cluster.publish.timeout: 180s"
},
"success" : true,
"status" : 200
}