# You are not authorized to access Monitoring. To use Monitoring, you need the privileges granted by both the \`kibana\_admin\` and \`monitoring\_user \` roles

**URL:** https://discuss.elastic.co/t/you-are-not-authorized-to-access-monitoring-to-use-monitoring-you-need-the-privileges-granted-by-both-the-kibana-admin-and-monitoring-user-roles/346448
**Category:** Kibana
**Tags:** elastic-stack-monitoring
**Created:** [November 4, 2023, 11:34pm UTC](https://discuss.elastic.co/t/you-are-not-authorized-to-access-monitoring-to-use-monitoring-you-need-the-privileges-granted-by-both-the-kibana-admin-and-monitoring-user-roles/346448 "2023-11-04T23:34:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)
#### Post date: [November 4, 2023, 11:34pm UTC](https://discuss.elastic.co/t/you-are-not-authorized-to-access-monitoring-to-use-monitoring-you-need-the-privileges-granted-by-both-the-kibana-admin-and-monitoring-user-roles/346448/1 "2023-11-04T23:34:27Z")

</div>

Hello World!

I'm trying out eck'quickstart:

> **[Quickstart | Elastic Cloud on Kubernetes \[2.10\] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-quickstart.html)**

and even though I'm logging in as `elastic` user, which is `superadmin`, I get the following message when I try to access Kibana'Monitoring app:

> Access Denied  
> 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.

 ![Screenshot 2023-11-04 at 7.00.30 PM](https://us1.discourse-cdn.com/elastic/original/3X/c/6/c6a414eb2c9e1c40aecc15bd94e980c239b37dc4.png)

```auto
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
  name: dd
spec:
  version: 8.10.4
  nodeSets:
  - name: default
    config:
attr_value
      node.roles: ["master", "data", "ingest", "ml"]
performance cost
      node.store.allow_mmap: false
      monitoring.ui.ccs.enabled: false

```

as soon as I add

> ```
> monitoring.ui.ccs.enabled: false
> 
> ```

elasticsearch won't even start anymore(

Please advise)  
Thank you!

---

<div class="post-metadata">

### Author: ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)
#### Post date: [November 9, 2023, 8:43pm UTC](https://discuss.elastic.co/t/you-are-not-authorized-to-access-monitoring-to-use-monitoring-you-need-the-privileges-granted-by-both-the-kibana-admin-and-monitoring-user-roles/346448/3 "2023-11-09T20:43:19Z")

</div>

I've added `remote_cluster_client` to node.role and now able to access the Kibana'Monitoring app 😉

Thanks!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 7, 2023, 8:43pm UTC](https://discuss.elastic.co/t/you-are-not-authorized-to-access-monitoring-to-use-monitoring-you-need-the-privileges-granted-by-both-the-kibana-admin-and-monitoring-user-roles/346448/4 "2023-12-07T20:43:44Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
