ES 7.17 cloud is hosted in https://xxx.elastic-cloud.com:9243
Using Java High Level REST client, I was able to connect to server ES client 7.9.3. Now I update to ES client 7.17.4. But it gives me permission issue.
"root_cause":[{"type":"security_exception","reason":"action [cluster:monitor/main] is unauthorized for user [xxxx] with roles
Why does it need this permission? Someone mentioned that client pings the cluster using the /
endpoint and it's actually why the [cluster:monitor/main
privilege] is required. And this was added after the 7.10.2 Opensearch fork.
Where can I find the reference?