cross-cluster-kibana.asciidoc 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [[cross-cluster-kibana]]
  2. ==== {ccs-cap} and {kib}
  3. When {kib} is used to search across multiple clusters, a two-step authorization
  4. process determines whether or not the user can access indices on a remote
  5. cluster:
  6. * First, the local cluster determines if the user is authorized to access remote
  7. clusters. (The local cluster is the cluster {kib} is connected to.)
  8. * If they are, the remote cluster then determines if the user has access
  9. to the specified indices.
  10. To grant {kib} users access to remote clusters, assign them a local role
  11. with read privileges to indices on the remote clusters. You specify remote
  12. cluster indices as `<remote_cluster_name>:<index_name>`.
  13. To enable users to actually read the remote indices, you must create a matching
  14. role on the remote clusters that grants the `read_cross_cluster` privilege
  15. and access to the appropriate indices.
  16. For example, if {kib} is connected to the cluster where you're actively
  17. indexing {ls} data (your _local cluster_) and you're periodically
  18. offloading older time-based indices to an archive cluster
  19. (your _remote cluster_) and you want to enable {kib} users to search both
  20. clusters:
  21. . On the local cluster, create a `logstash_reader` role that grants
  22. `read` and `view_index_metadata` privileges on the local `logstash-*` indices.
  23. +
  24. NOTE: If you configure the local cluster as another remote in {es}, the
  25. `logstash_reader` role on your local cluster also needs to grant the
  26. `read_cross_cluster` privilege.
  27. . Assign your {kib} users a role that grants
  28. {kibana-ref}/xpack-security-authorization.html[access to {kib}]
  29. as well as your `logstash_reader` role.
  30. . On the remote cluster, create a `logstash_reader` role that grants the
  31. `read_cross_cluster` privilege and `read` and `view_index_metadata` privileges
  32. for the `logstash-*` indices.