今天点击Stack Monitoring查看ES集群日志性能的时候,发现出错了,于是有此文

Stack Monitoring报错

报错如下:
Access Denied
You are not authorized to access Monitoring. To use Monitoring, you need the privileges granted by both the kibana_user and monitoring_user roles.
If you are attempting to access a dedicated monitoring cluster, this might be because you are logged in as a user that is not configured on the monitoring cluster.
Back to Kibana

一定是变动

不会无缘无故的不能用或出现问题的,一定是变动,不管是内部或外部。如主动地变更,外部环境的变化。于是询问最近有ES相关需求的同事,果然是动了
Management –> Remote Clusters ,他在这里添加了个外部集群,然后导致了这个问题。

解决办法

搜索到如下结果https://www.zhukun.net/archives/8467,内容也是匹配的,添加了就删掉,后台没法删除,就写GET/PUT了

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

GET /_cluster/settings?pretty

PUT /_cluster/settings
{
"persistent" : {
"cluster" : {
"remote" : {
"trans" : {
"skip_unavailable" : null,
"seeds" : null
}
}
}
}