Skip to content

[9.1.0][REQUEST]: Document how to use Kibana spaces with Fleet #1830

@kpollich

Description

@kpollich

Description

In #1142, we introduced Fleet’s new privilege model with support for space-aware access control. This follow-up expands on how to use Fleet's space awareness capabilities:

  • Enabling the space awareness feature
  • Assigning Agent Policies to different spaces (and moving them)
  • Making integration assets available across spaces

Enabling space awareness in Fleet

As of 9.1.0, Fleet supports a space-aware data model. This allows you to use Kibana spaces to manage Agent Policies and integrations separately per space. Combined with granular user roles, this enables true role-based access control for Elastic Agent management.

  • New deployments on 9.1.0 or later: space awareness is enabled by default.
  • Upgraded deployments from earlier versions: space awareness must be explicitly enabled.

To enable space awareness in upgraded deployments:

  1. Navigate to the Fleet app.
  2. Click the Settings tab.
  3. Scroll to Advanced settings.
  4. Under Migrate to space-aware agent policies, click Start migration.
  5. Confirm the migration via the modal.

This is a one-time migration that copies your existing Fleet data into a new, space-aware model. Previous data will be preserved in snapshots in case rollback is needed.

Managing Agent Policies across spaces

To control where an Agent Policy is available:

  1. Navigate to the Agent Policy’s Settings tab.

    Agent Policy Settings tab

  2. Use the Spaces dropdown to select one or more spaces.

    Agent Policy spaces dropdown

Agent Policies can be assigned to multiple spaces. In the example below, the policy is visible in both the "Default" space and "My second space."

Policy in multiple spaces

Access to a policy is still governed by each user's Fleet permissions within the selected spaces.

Managing integration assets across spaces

When you add an integration to an Agent Policy, its assets (dashboards, visualizations, etc.) are installed only in the current space by default.

If the Agent Policy spans multiple spaces, you'll need to install the integration's assets in each space manually:

  1. Switch to the desired Kibana space.

  2. Go to the Integrations app → Installed integrations tab.

  3. Click the name of the integration.

    Installed integrations list

  4. Open the Assets tab.

    Assets tab

  5. Click Install Kibana assets in current space.

This installs dashboards and other UI assets into the selected space.

Note: Due to limitations in Kibana’s saved object model, integration assets are copied per space. These saved objects are considered managed and are readonly.

Resources

Previous docs work: #1142

Collaboration

The product team will provide the initial content.

Point of contact.

Main contact: @kpollich

Stakeholders: @elastic/fleet @nimarezainia

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions