How can we connect local kibana to elastic cloud elasticsearch

how can we connect local kibana to elastic cloud elasticsearch, like how we can get token.

I tried this.

GET /_security/enroll/kibana
{
  "error": {
    "root_cause": [
      {
        "type": "security_exception",
        "reason": "Enrollment mode is not enabled. Set [xpack.security.enrollment.enabled] to true, in order to use this API."
      }
    ],
    "type": "security_exception",
    "reason": "Enrollment mode is not enabled. Set [xpack.security.enrollment.enabled] to true, in order to use this API."
  },
  "status": 403
}
1 Like

You can't....what are you trying to accomplish?

This used to be allowed but it is no longer supported.

1 Like

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