OpenSearch Dashboards multi-tenancy

OpenSearch Dashboards tenants keep saved objects such as index patterns, visualizations and dashboards separate between teams, but they are not a substitute for index-level security.

On this page

How OpenSearch Dashboards multi-tenancy separates team content

OpenSearch Dashboards tenants keep saved objects apart when several teams share one Dashboards instance. Each tenant holds its own index patterns, visualizations and dashboards, so one team's saved work does not appear in another team's lists. Every user has two tenants by default: a global tenant shared by everyone who can sign in, and a private tenant that only that user sees. Administrators add custom tenants for specific roles and grant each role either read or write access to a tenant.

The global tenant does not synchronize content with private tenants, so saving a visualization in your private tenant does not copy it to the global tenant, and changes in one place do not flow to the other. Plan the content model before teams start building. Decide which dashboards belong in the global tenant, which teams need a custom tenant, and who may write to each one. Confirm with your own test cluster how the sign-in backend maps users to the roles that carry tenant permissions, because tenant access depends on those roles.

Tenants control the Dashboards view of saved objects. They do not restrict what the underlying indices return, so a user who can read the data through a search role can still see that data through any tenant they can open. Pair tenant design with index permissions, document-level and field-level security, and an audit of who holds write access to each custom tenant. Check the current behavior and limits in the official multi-tenancy documentation for your OpenSearch version before you finalize the design.

How users, roles and tenants relate in Dashboards

The diagram starts with a user who receives one or more roles from the Security plugin. Each role grants read or write access to tenants: the global tenant, the user's private tenant, and any custom tenant the administrator creates for a team. Saved objects such as index patterns, visualizations and dashboards live inside each tenant, and the global and private tenants do not sync with each other. The boundary on the right is where tenants stop: the index permissions a role holds still decide which data a saved object can query, so check both layers before sharing a dashboard.

Tenants group saved objects, while index permissions still control the data they query.

Choosing between global, private and custom tenants

The global tenant is the shared default space in OpenSearch Dashboards. Index patterns, visualizations and dashboards saved there are the ones that are visible by default to users who hold access to it, so it suits content meant for broad, organization-wide use. Because every user has one, it is the first place most people look and the place where mistakes spread fastest.

  • What it holds: index patterns, visualizations and dashboards that the team has deliberately placed there.
  • Who sees it: users whose roles grant access to the global tenant, which is the default for all users.
  • Sync behavior: the global tenant does not synchronize content with private tenants, so saving to one does not copy items into the other.
  • When to use it: shared operational dashboards that many teams should open without setup, and reference content maintained by a small set of owners.
  • Trade-off: anything placed here is broadly visible, so treat edits as changes that affect every user with access.

Before relying on the global tenant for shared content, confirm which roles the security configuration grants access to it in your cluster.

Tenant options and when each fits

This table compares the global tenant, the private tenant and custom tenants with read or write access, showing who sees saved objects, who can change them and which team pattern each option suits. Read it row by row against your team structure, then decide which content belongs in shared space and which stays personal.

Tenant optionWho can see saved objectsWho can change themTypical team pattern it fits
Global tenantEvery user who can sign in to Dashboards with the global tenant enabledUsers with write access to the global tenant, as set in their rolesShared dashboards for the whole organization, such as a company-wide service health view
Private tenantOnly the individual user who owns itOnly that userPersonal drafts, experiments and visualizations not yet ready for others
Custom tenant with read accessMembers of roles granted read access to the custom tenantNo one in that role, since only write access allows editsA team publishes reviewed dashboards that other teams consume but do not alter
Custom tenant with write accessMembers of roles granted write access to the custom tenantMembers of roles granted write accessA team collaborates on its own index patterns, visualizations and dashboards
Content sync between tenantsGlobal tenant content is not synchronized with private tenantsUsers copy or recreate content across tenants manuallyPlan a promotion step for moving reviewed private work into a shared tenant
Admin-created custom tenantsScoped to the roles assigned to the tenantScoped to the roles assigned to the tenantConfirm with your admin how tenants map to team roles before onboarding users

Setting up custom tenants for each team

This sequence takes a shared OpenSearch Dashboards instance from the default tenants to one custom tenant per team, with read or write access granted through roles and backend roles, and checked by signing in as a test user for each team.

  1. Confirm the Security plugin and authentication backend

    Before creating any tenant, confirm that the Security plugin is enabled on the cluster and that Dashboards sign-in goes through the authentication backend you intend to keep, such as SAML, OpenID Connect, LDAP or Active Directory. Tenants are managed by the Security plugin, so a Dashboards instance without it cannot enforce them. Ask your platform owner to confirm the authentication configuration in writing and to confirm that the demo configuration has been replaced. The step is done when a test user can sign in and see the Security plugin's tenant settings in Dashboards, and an administrator can list the existing tenants.

  2. Define one role per team

    Create a role in the Security plugin for each team, scoped to the indices that team's saved content depends on. Keep index permissions in the role separate from tenant permissions, because a tenant controls only Dashboards objects such as index patterns, visualizations and dashboards, not the data behind them. Name roles after teams in a consistent pattern so that reviews and later audits are easy to read. The step is done when each role exists, lists only the index patterns that team needs, and an administrator has reviewed the list against the team's data owner.

  3. Create a custom tenant for each team

    In Dashboards, open the tenant settings in the Security area and create one custom tenant per team, using a name that matches the role. Leave the global tenant as the shared default for content everyone may see, and do not expect content in a private tenant to appear in the global tenant. Record which tenant belongs to which team in your configuration notes. The step is done when each custom tenant appears in the tenant list and a single administrator can open each one without errors.

  4. Grant read or write access per role

    Assign each team role access to its own custom tenant, choosing read only or read and write. Read access lets a team view saved objects, while write access lets it create and change them. Give write access only to the team that owns the content, and keep the other roles read only or without access. Tenant permissions do not replace index permissions, so confirm that each role can also read the indices it needs. The step is done when a role's permission list shows exactly one tenant with the intended access level and the review notes are saved.

  5. Map backend roles from the identity provider

    Map the groups or claims from your identity provider to the backend roles that the Security plugin uses, then map those backend roles to the team roles from the earlier steps. This mapping keeps team membership in the directory rather than in per-user Dashboards settings. Check the mapping with your identity administrator, because a missing or misspelled group name silently leaves a user without a team tenant. The step is done when a test account in each team group receives the matching backend role and the matching role appears in the user's details.

  6. Verify each tenant with a test user per team

    Sign in to Dashboards as a test user from each team and confirm three things: the user sees the team's custom tenant and the global tenant, the user cannot see another team's tenant, and the user's saved objects appear in the right place. Create a sample index pattern, visualization and dashboard in the team tenant to confirm write access, then sign in as a user with read only access and confirm that editing is blocked. Test users should be non-administrative accounts that mirror real team membership. The step is done when each test user's results match the planned access matrix.

  7. Check saved objects and record the tenant access matrix

    Use the Dashboards saved objects view as an administrator to confirm that each team's objects are stored in the expected tenant and that no team content has leaked into the global tenant or another team's tenant. Then write down the final access matrix of teams, tenants, roles, backend roles and access levels, and store it with your security configuration. Note in the record that tenants do not isolate index data, so teams that must be fenced off from each other's documents also need index, document-level or field-level controls. The step is done when the matrix has been reviewed and signed off by the data owners.

Security and operational considerations

Tenants separate what users see in Dashboards, but they are not a security boundary for the data underneath. The cards below cover the gaps that remain at the index, object and administration layers, and the process controls that keep tenant sharing safe over time.

Tenants are not index isolation

A tenant hides saved objects such as index patterns, visualizations and dashboards from other users. It does not stop a user from querying an index through Discover, the API or another tool if their roles allow it. Treat tenants as a way to organize Dashboards content, and use index permissions to control which data a team can read. Before go-live, test each team's role by querying from outside Dashboards, not only by checking which tenant appears in the menu.

Multi-tenancy docs

Index permissions still govern data

Read and write access to a tenant controls who can open or change saved objects in that tenant. The data behind those objects is still governed by the cluster and index permissions of each role. A dashboard shared to a team can show documents that the viewer's roles do not allow them to read only if the query path permits it, so the design must start from index permissions. Confirm this behavior in your version with a test user before relying on it.

Saved objects can reference hidden indices

A visualization or index pattern in a shared tenant may point to an index that a viewer cannot query. The object still appears in the tenant, and the viewer sees an error or empty panel instead of the data. This leaks index names and query intent to people outside the owning team. Review index patterns when a tenant is shared, and ask whether index names themselves are sensitive for your data classification.

Role changes need an audit trail

Tenant access is set through roles, so a change to a role's tenant permissions changes who can see or edit shared content. Enable audit logging for security configuration changes and keep role definitions in version control so each change has an author, a reason and a diff. Without this record, an incident review cannot reconstruct who had access to a dashboard on a given date. Confirm which audit categories your deployment logs and where the logs are stored.

Custom tenants need an owner

A custom tenant created for a team is only as safe as the process that governs it. Assign a named owner who approves who joins the tenant's roles, decides whether members get read or write access, and removes access when people move teams. Review custom tenant membership on a fixed schedule. Without an owner, tenants accumulate stale roles and shared content that no one is responsible for.

Private and global content sprawl

Private tenants hold content for one user, and the global tenant does not synchronize with private tenants. Important dashboards built privately can disappear from a team's view when the owner leaves, and copies drift apart over time. Set a rule for where production dashboards live, decide who may promote private work to a custom tenant, and export or back up saved objects so that ownership changes do not lose work.

Why tenants alone do not restrict data

Tenants separate what a team sees in Dashboards, but they do not decide which documents a user can read from an index. A tenant holds saved objects such as index patterns, visualizations and dashboards. The data those objects query still lives in indices, and any user whose roles grant read access to an index can query it directly through the API, Discover or a saved query they build themselves. Treat a tenant as a workspace boundary for shared content, not as a security boundary for the underlying logs or events.

The controls for data sit in the Security plugin roles. Index permissions decide which indices and aliases a role can read or write at all. Document-level security adds a query to a role so that only matching documents are returned, and field-level security removes selected fields from the results. Masking is a separate option for hiding values while keeping documents visible. Before you publish a tenant to a team, check that each role mapped to it has index patterns that match only the data that team is allowed to see, and confirm the current behavior of these features against the Security documentation for your version.

Run a test before you rely on tenant separation. Create a test user whose roles grant only the tenant and no data-level restriction, then confirm in Discover and through the API that the user can reach indices outside the intended scope. Repeat the check for a user in each team and record the results with the role definitions, so the design can be reviewed. Tenant configuration and role mappings are also worth keeping under version control so that changes to who can see what are visible and reversible.

Questions teams ask before separating Dashboards content

Are Dashboards tenants enough to separate content between teams?

Tenants separate Dashboards content, but they are not a full isolation boundary for data. Tenants hold index patterns, visualizations and dashboards, and each user gets a global tenant and a private tenant. Administrators can add custom tenants for specific roles with read or write access, so a team's saved objects stay out of another team's view. Tenants do not restrict which documents a query can return. Pair them with index permissions, document-level security and field-level security when teams must not see each other's data, and confirm the boundary against your own compliance requirements.

Can our team configure Dashboards tenants without outside help?

A capable OpenSearch administrator can create tenants and role mappings, provided they already understand the Security plugin and have a stable role model. The work is small in each step but easy to get wrong: tenant names, read and write grants, and the link between backend roles and tenants all need to match. Teams without a documented role design often find the hard part is the decision, not the configuration. An outside partner can help with the design, review the result and document it, and the written scope should say which of these tasks is included.

What does a tenant setup project involve and who does the work?

The work covers four parts: agreeing which teams need separate saved objects, mapping those teams to identity groups, defining the roles that grant tenant access, and testing that each team sees only its own content. Your administrators are usually responsible for the identity groups and approving access. An implementation partner, if you use one, would normally handle the role design, configuration, testing and handover documentation. Ask for the scope to list each of these tasks with a named owner.

How long does setting up Dashboards tenants take?

No duration is fixed for this topic, and the effort depends mostly on how many teams need separation and how settled your identity groups are. Effort rises when group membership is unclear, when many teams share dashboards, or when access must be reviewed against a compliance framework. Effort falls when identity groups already exist in your identity provider and the team agrees on a short list of tenants. Ask any partner to state the assumptions behind its estimate, including the number of teams, roles and environments, so the quote can be compared with your own plan.

What must our organization provide before tenant work starts?

Before work starts, the organization should provide three things. First, identity groups from your directory or identity provider that match real teams, so tenant access follows membership. Second, a role design that says which teams can read or write each custom tenant and which should only use their private tenant. Third, named data owners who confirm which indices each team may query, since tenants do not control that. Missing any of these usually adds rework later, so ask for a written list of inputs in the scope.

Do tenants change which indices a user can search?

No. Tenants control access to saved objects such as index patterns, visualizations and dashboards, but index permissions still decide which indices a role can query. A user who can open a shared dashboard may still be blocked from its data, or may see data they should not if index permissions are too broad. Check index permissions and document-level security separately from tenant grants, and test both with real user accounts. The global tenant also does not synchronize content with private tenants, so saved objects in one do not appear in the other.

What should we test before we give teams tenant access?

Test with accounts from each team, not only administrator accounts. Confirm that each user sees their private tenant and only the custom tenants granted to their roles, that read-only grants cannot save changes, and that write grants behave as intended. Then check the index side: run queries as each role and confirm the results match the data owner's rules. Keep the test results and role files with your change records so auditors and future administrators can see why access was granted.

How DeployOpen scopes and delivers tenant design

DeployOpen plans, implements, documents and supports self-hosted OpenSearch inside the client's own infrastructure, so tenant design for OpenSearch Dashboards is decided against your teams, roles and review requirements before anything is changed. Engagements are fixed-scope, with the scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • Inventory which teams share the Dashboards instance and which saved objects each team needs to read or write.
  • Map each team to OpenSearch roles and tenant permissions, and record which content must stay in private tenants.
  • Document what tenants do not isolate, such as index-level access, so the written scope states that boundary plainly.
  • Agree the deliverables, environment, and acceptance checks in writing before any configuration change begins.

How we build

  • Create custom tenants for each team and assign read or write access through roles, reviewing each permission grant.
  • Set the global tenant content policy so shared dashboards are published deliberately rather than copied ad hoc.
  • Pair tenant configuration with index permissions and document-level security so data access is enforced below the Dashboards layer.
  • Test each role by signing in as a representative user and confirming which saved objects and indices are visible and writable.

How we hand over

  • Deliver the role and tenant mapping as a written reference that your security and platform teams can review.
  • Store security configuration in files your team can version, so later changes are tracked and reviewed.
  • Walk your administrators through adding a team, creating a custom tenant, and retiring one without exposing old content.
  • Provide test evidence showing the access model behaves as documented, which your reviewers can reuse.

How we support

  • Support is available as a retainer for tenant changes, OpenSearch upgrades and access reviews after handover.
  • Re-test tenant access after each planned upgrade, since Dashboards behavior can change between releases.
  • Confirm with your team which support window and response terms apply before you sign, as these are set in the written agreement.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.