一、kibana无法访问堆栈信息
访问被拒绝
You are not authorized to access Monitoring. To use Monitoring, you need the privileges granted by both the `kibana_admin` 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.
Since Cross Cluster Search is enabled (`monitoring.ui.ccs.enabled` is set to `true`), make sure your cluster has the `remote_cluster_client` role on at least one node.
解决
1、kibana.yml文件新增monitoring.ui.ccs.enabled: true
2、es节点增加remote_cluster_client角色(kibana.yml里面配置的elasticsearch.hosts的节点都配置)
3、重启kibana以及es节点