stack-management.asciidoc 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [role="xpack"]
  2. [[stack-management]]
  3. === Granting access to Stack Management features
  4. You <<defining-roles,define roles>> and set user privileges at different levels
  5. to grant access to each of the Elastic Stack features.
  6. [[stack-management-ccr]]
  7. ==== {ccr-cap}
  8. The {ccr} user requires different cluster and index privileges on the remote
  9. cluster and local cluster.
  10. [[stack-management-ccr-remote]]
  11. On the remote cluster that contains the leader index, the {ccr} user requires
  12. `read_ccr` cluster privilege and `monitor` and `read` privileges on the
  13. leader index.
  14. [source,yml]
  15. --------------------------------------------------
  16. ccr_user:
  17. cluster:
  18. - read_ccr
  19. indices:
  20. - names: [ 'leader-index' ]
  21. privileges:
  22. - monitor
  23. - read
  24. --------------------------------------------------
  25. [[stack-management-ccr-local]]
  26. On the local cluster that contains the follower index, the {ccr} user requires the `manage_ccr` cluster privilege and `monitor`, `read`, `write` and
  27. `manage_follow_index` privileges on the follower index.
  28. [source,yml]
  29. --------------------------------------------------
  30. ccr_user:
  31. cluster:
  32. - manage_ccr
  33. indices:
  34. - names: [ 'follower-index' ]
  35. privileges:
  36. - monitor
  37. - read
  38. - write
  39. - manage_follow_index
  40. --------------------------------------------------
  41. If you are managing
  42. <<ccr-getting-started-remote-cluster,connecting to the remote cluster>> using
  43. the cluster update settings API, you will also need a user with the `all`
  44. cluster privilege.