-
Notifications
You must be signed in to change notification settings - Fork 237
CPS tech preview #5498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
CPS tech preview #5498
Changes from 22 commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
c0ccf4e
CPS configuration docs
marciw d3f0044
Merge branch 'main' of github.com:elastic/docs-content into cps-tech-…
florent-leborgne 8997244
Merge branch 'main' into cps-tech-preview
shainaraskas 45ad524
Merge branch 'main' into cps-tech-preview
nastasha-solomon a08794f
Merge branch 'main' into cps-tech-preview
marciw 2ea5469
CPS config: update + reconcile with E&A CPS
marciw 3338a8d
CPS: Data views automatically list indices from linked projects (#5426)
florent-leborgne f71932c
CPS in Kibana: scope selector and availability matrix (#5423)
florent-leborgne 8bd157b
CPS: Inspector lists linked projects searched by the query (#5425)
florent-leborgne a8c643a
CPS: Add project routing section to ES|QL in Kibana and ES|QL visuali…
florent-leborgne 2a1539a
Merge branch 'main' into cps-tech-preview
florent-leborgne 7406e08
CPS: Dashboard-level scope and panel-level custom scope badge (#5428)
florent-leborgne b6a8786
Fix invalid cross-link for ES|QL SET command
florent-leborgne fda3b8f
Update redirected links to cps-config-link-and-manage.md
florent-leborgne accb294
CPS: Document cross-project search support in Maps (#5429)
florent-leborgne bdaad85
CPS: Document space-level CPS scope for alerting rules (#5427)
florent-leborgne afc7f7e
Fix broken anchors and redirected links in CPS pages
florent-leborgne 6215d6c
Merge branch 'main' into cps-tech-preview
nastasha-solomon b243911
Small tweaks to CPS manage scope page
florent-leborgne aa533ec
Improve manage scope description in CPS overview page
florent-leborgne de3d47b
Merge branch 'main' into cps-tech-preview
florent-leborgne c25ed7a
Adjustments from feedback
florent-leborgne 0964786
Apply suggestions from review
marciw 9073304
Apply suggestions from review
marciw 461081e
Apply suggestions from review
marciw d7a6adf
Apply suggestions from review
marciw 33e208b
Apply suggestions from review
marciw 1a1fd12
Apply suggestions from review
marciw ddb3437
Apply suggestions from review
marciw 81e2dfd
Apply suggestions from review incl fix snippets
marciw 1c699b5
Add notes about using Painless with cross-project search (#5608)
marciw 3d2a109
Port over changes from mw-cps-config
marciw 11b6de8
Address review comments
marciw e62eb41
CPS in Kibana, Observability, and Security: Feature support (#5596)
nastasha-solomon f8f8f91
Merge branch 'main' into cps-tech-preview
nastasha-solomon 1a12d53
updated ref paths in alerting docs
nastasha-solomon 5b9e3d5
re-adding cps-painless-scripting section
nastasha-solomon 571c4ab
avada kedavra!
nastasha-solomon 4309b20
small fixes
marciw 7e7c57c
Update cps-config-impacts-and-limitations.md
marciw 5fcb2b9
Address more review comments
marciw 459ee4a
Fold impacts + limitations into main page
marciw 3cb4c94
Fix see also
marciw 070cd7f
Assorted edits
marciw e929ed5
😵💫
marciw 1fd1d93
Move prog access section + fix inaccurate sentence
marciw fd10244
Update deploy-manage/cross-project-search-config.md
marciw 50ff316
Update deploy-manage/cross-project-search-config/cps-config-link-and-…
marciw f69f128
CPS-related edits to existing pages (#5560)
marciw 12f11d5
fix link
marciw 955e256
Merge branch 'main' into cps-tech-preview
marciw 12848fe
Address comments from review
marciw 09da820
missed some review comments
marciw 06f19ce
Merge branch 'main' into cps-tech-preview
marciw 0b8555a
adds clarification on alert workflow
nastasha-solomon a1aa080
Merge branch 'main' into cps-tech-preview
shainaraskas 5d94357
Add project tags to glossary
marciw 4284eca
CPS: Refactor auth-related stuff and small style edits (#5799)
shainaraskas f20114d
Merge branch 'main' into cps-tech-preview
shainaraskas 5ba0840
Update explore-analyze/cross-project-search/_snippets/cps-security.md
shainaraskas 0b24073
Update warning about custom role access requirements
shainaraskas 2780a08
Update deploy-manage/users-roles/serverless-custom-roles.md
shainaraskas c940503
Merge branch 'main' into cps-tech-preview
shainaraskas 4c2866e
Apply suggestion from review
marciw 13609b3
Apply suggestion from review
marciw d65dce5
Remove stale TODOs
marciw bb2a429
surface sec and obs limitations on core limitations list
shainaraskas 0a7c613
Merge branch 'main' into cps-tech-preview
shainaraskas a05948d
Add observability CPS docs (#5722)
mdbirnstiehl f9495cd
update obs limitations
mdbirnstiehl 2641a66
Merge branch 'main' into cps-tech-preview
shainaraskas 53c6077
tidying
shainaraskas 14c7e18
terminology fixes
shainaraskas ae1f118
broken links
shainaraskas fb9a741
link
shainaraskas 6030057
little tidying things
shainaraskas 9fc421b
cps billing (#5885)
shainaraskas 0b98506
Merge branch 'main' into cps-tech-preview
shainaraskas 8a0f12f
Update CPS limitations to reflect AIOps and Data viz support (#5881)
shainaraskas 6591908
Add CPS security project warning (#5898)
shainaraskas c19e50a
Merge branch 'main' into cps-tech-preview
shainaraskas c9e96f2
Merge branch 'main' into cps-tech-preview
shainaraskas 6614250
Merge branch 'main' into cps-tech-preview
shainaraskas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Project linking is not bidirectional. Searches initiated from a linked project do **not** run against the origin project. If you need bidirectional search, link the projects twice, in both directions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
|
|
||
| - **Maximum of 20 linked projects:** Each origin project can have up to 20 linked projects. A linked project can be associated with any number of origin projects. | ||
| - **Chaining/transitivity not supported:** If Project A links to Project B, and Project B links to Project C, Project A cannot automatically search Project C. Each link is independent. | ||
| - **Links are unidirectional:** Searches that run from a linked project do **not** run against the origin project. If you need bidirectional search, link the projects twice, in both directions. | ||
| - **System indices are excluded:** System indices (such as `.security` and `.fleet-*`) are excluded from {{cps}}. | ||
| - **Unavailable APIs:** `_transform` and `_fleet_search` requests do not support {{cps-init}}. | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
| - **Workplace AI projects:** Workplace AI projects are not compatible with {{cps}}. | ||
| - {applies_to}`serverless: preview` **New projects only:** During technical preview, only newly created projects can function as origin projects. | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
| - {applies_to}`serverless: preview` **ML and transforms:** ML {{anomaly-jobs}} and transforms are not supported in the technical preview. They continue to run on origin project data only. | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
|
|
||
| % - {applies_to}`serverless: preview` **Failure store:** | ||
| % - {applies_to}`serverless: preview` **Project aliases:** During technical preview, you can't edit a project's alias on the **{{cps-cap}}** page. | ||
|
shainaraskas marked this conversation as resolved.
Outdated
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| To link projects, use the {{cps}} linking wizard in the {{ecloud}} UI: | ||
|
|
||
| 1. On the home screen, find the project you want to use as the origin project and click **Manage**. | ||
|
|
||
| 1. Use the sidebar to navigate to the **{{cps-cap}}** page. | ||
|
|
||
| 1. Click **Link projects**. Browse or search for projects to link to the origin project. Only compatible projects appear in the project list. You can filter by type, cloud provider, region, and tags. | ||
|
|
||
| 1. Select the checkbox for each project you want to link. You can link up to 20 projects per origin project. | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
|
|
||
| If a project you expected to link to is missing from the list, it might not be compatible with the origin project. | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
|
|
||
| 1. Complete the remaining steps in the wizard to review and save your selections. In the last step, you can click **View API request** to see the equivalent API request for linking to the selected projects. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| {{cps-cap}} runs across _origin_ and _linked_ projects within your {{ecloud}} organization: | ||
|
|
||
| - **Origin project:** The base project where you create links and run cross-project searches. | ||
| - **Linked projects:** The projects you connect to the origin project. Data in the linked projects becomes searchable from the origin project. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,107 @@ | ||
| --- | ||
| applies_to: | ||
| stack: unavailable | ||
| serverless: preview | ||
| products: | ||
| - id: cloud-serverless | ||
| navigation_title: "Cross-project search" | ||
| --- | ||
|
|
||
| # Configure {{cps}} [configure-cross-project-search] | ||
|
|
||
| With {{cps}} ({{cps-init}}), users in your organization can search across multiple {{serverless-full}} projects at once, instead of searching each project individually. When your data is split across projects to organize ownership, use cases, or environments, {{cps}} lets you query all the data from a single place. | ||
|
|
||
| {{cps-cap}} is the {{serverless-short}} equivalent of [{{ccs}}](/explore-analyze/cross-cluster-search.md), without requiring an understanding of deployment architecture. Permissions stay consistent across projects, and you can always adjust scope and access as needed. | ||
|
shainaraskas marked this conversation as resolved.
Outdated
|
||
|
|
||
| This section explains how to set up and manage {{cps}} for your organization, including linking projects, managing user access, and refining scope. | ||
|
|
||
| * [Link and manage projects](/deploy-manage/cross-project-search-config/cps-config-link-and-manage.md): Link projects in the {{ecloud}} UI, manage linked projects, and unlink projects. | ||
| * [Access and scope](/deploy-manage/cross-project-search-config/cps-config-access-and-scope.md): Manage user access across linked projects and configure the default {{cps}} scope per space. | ||
| * [Impacts and limitations](/deploy-manage/cross-project-search-config/cps-config-impacts-and-limitations.md): Understand how {{cps}} affects alerting, dashboards, and other features, and review current limitations. | ||
|
shainaraskas marked this conversation as resolved.
Outdated
|
||
|
|
||
| These topics cover {{CPS}} configuration and management. For information on _using_ {{cps}}, including syntax and examples, refer to [](/explore-analyze/cross-project-search.md) in **Explore and analyze**. | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
|
|
||
| :::{note} | ||
| {{cps-cap}} is available for {{serverless-full}} projects only. For other deployment types, refer to [{{ccs}}](/explore-analyze/cross-cluster-search.md). | ||
| ::: | ||
|
|
||
| ## Key concepts | ||
|
|
||
| ::::{include} /deploy-manage/_snippets/cps-origin-linked-definitions.md | ||
| :::: | ||
|
|
||
| ::::{include} /explore-analyze/cross-project-search/_snippets/cps-default-search-behavior.md | ||
|
shainaraskas marked this conversation as resolved.
|
||
| :::: | ||
|
|
||
| To adjust the default scope, you can [configure the default CPS scope](/deploy-manage/cross-project-search-config/cps-config-access-and-scope.md#cps-default-search-scope) for each space. | ||
|
|
||
| For details about project IDs and aliases (used in search expressions), refer to [Project ID and aliases](/explore-analyze/cross-project-search.md#project-id-and-aliases). | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
|
|
||
| ## Before you begin [cps-prerequisites] | ||
|
|
||
| To configure {{cps}}, make sure you meet these prerequisites: | ||
|
|
||
| - You must be an organization owner or project administrator. | ||
|
shainaraskas marked this conversation as resolved.
Outdated
|
||
| - Your origin and linked projects must be [compatible](#cps-compatibility). | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
| - For programmatic access, you must use [{{ecloud}} API keys](/deploy-manage/api-keys/elastic-cloud-api-keys.md), **not** project-scoped API keys. {{ecloud}} API keys can authenticate across project boundaries. Project-scoped API keys (such as {{es}} API keys) can't search across project boundaries, so they return origin-only results. | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
|
|
||
| % update wrt UIAM docs (esp links); subscription/licensing? | ||
| % TODO confirm project-scoped API keys silently return origin-only results (no error) (ES API in E&A) | ||
|
|
||
| ## Projects available for linking [cps-compatibility] | ||
|
|
||
| ::::{important} | ||
| :applies_to: serverless: preview | ||
| **Origin projects must be new**: During technical preview, only newly created projects can be origin projects for {{cps}}. Existing projects can be _linked_ to an origin project, but they can't serve as origin projects themselves. To get started, create a new {{serverless-short}} project and link it to your existing projects. | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
| :::: | ||
|
|
||
| You can link any combination of {{product.elasticsearch}}, {{product.observability}}, and {{product.security}} projects, with the following requirements and limitations: | ||
|
|
||
| - {{es}} projects require the **Serverless Plus** add-on. | ||
| - {{sec-serverless}} and {{obs-serverless}} projects require the **Complete** feature tier. Projects on the **Essentials** tier are not compatible with {{cps}}. | ||
| - Workplace AI projects are not compatible with {{cps}}. | ||
|
|
||
| Only compatible projects appear in the [{{cps}} linking wizard](/deploy-manage/cross-project-search-config/cps-config-link-and-manage.md#cps-link-projects). | ||
|
|
||
| % TODO cf https://github.com/elastic/docs-content/pull/5190 | ||
|
|
||
| ## Plan your {{cps-init}} architecture [cps-arch] | ||
|
shainaraskas marked this conversation as resolved.
|
||
|
|
||
| When configuring {{cps}}, consider how the {{cps-init}} architecture (or linking pattern) will affect searches, dashboards, and alerting across your organization. {{cps-cap}} supports three patterns, each with a different level of operational risk. | ||
|
|
||
| ### Recommended: Overview project [cps-arch-overview] | ||
|
|
||
| For most deployments, we recommend creating a dedicated **overview project** that can act as an origin project. You can also think of this as a hub-and-spoke model. | ||
|
|
||
| In this architecture, you create a new, empty project and link existing projects to it. You run all cross-project searches and dashboards from the new overview project, while your actual active projects continue to operate independently. The linked ("spoke") projects are not linked to each other. | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
|
|
||
|  | ||
|
|
||
| The overview project becomes a central point for broad searches, dashboards, and investigations, without affecting your existing setup (for example, isolated projects stay isolated). | ||
|
shainaraskas marked this conversation as resolved.
Outdated
|
||
|
|
||
| :::{note} | ||
| If your overview project handles high search volumes, monitor its performance. Even if the project doesn't store data, it uses compute resources to coordinate searches across linked projects. | ||
|
shainaraskas marked this conversation as resolved.
Outdated
|
||
| ::: | ||
|
|
||
| ### Other supported patterns | ||
|
|
||
| The overview project model is strongly recommended and appropriate for most {{cps-init}} configurations. These additional patterns are valid, but they involve additional risk and require careful configuration: | ||
|
|
||
| - **Shared data project (N-to-1):** A single project stores data from a shared service (for example, logs). Multiple origin projects link to this central data project. | ||
|
|
||
| The N-to-1 pattern is often used when several teams need to query shared data independently. The main risk is that linking to a shared data project affects searches, dashboards, and alerts in each origin project. If the shared project is a large, active project, the expanded dataset might cause unexpected behavior. If you're using this pattern, make sure to [manage user access](/deploy-manage/cross-project-search-config/cps-config-access-and-scope.md#manage-user-access) and consider [CPS scope](/deploy-manage/cross-project-search-config/cps-config-access-and-scope.md#cps-search-scope). | ||
|
|
||
| - **Data mesh (N-to-N):** Multiple active projects link directly to each other. | ||
|
|
||
| The N-to-N pattern is the most complex and involves the highest risk. After you link projects, all searches, dashboards, and alerting rules in each origin project will query data from every linked project by default, which might make workflows unpredictable. Make sure you check alerting rules, which might be applied to data that the rule was never intended to evaluate. | ||
|
|
||
|
|
||
| ## Using APIs with {{cps-init}} [cps-apis] | ||
|
|
||
| You can also link and unlink projects using the {{ecloud}} API. In the linking wizard, click **View API request** on the review step to see the equivalent API call for your current selection. | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
|
|
||
| For information about searching across linked projects using APIs, refer to [{{cps-cap}}](/explore-analyze/cross-project-search.md#cps-supported-apis). | ||
|
|
||
| % Parking lot | ||
| % - Tag management / custom tags | ||
| % - Licensing / subscription tier requirements | ||
98 changes: 98 additions & 0 deletions
98
deploy-manage/cross-project-search-config/cps-config-access-and-scope.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,98 @@ | ||
| --- | ||
| applies_to: | ||
| stack: unavailable | ||
| serverless: preview | ||
| products: | ||
| - id: cloud-serverless | ||
| navigation_title: "Access and scope" | ||
| --- | ||
|
|
||
| # Manage access and scope for {{cps}} [cps-access-and-scope] | ||
|
|
||
| This page explains how user permissions and scope affect {{cps}} ({{cps-init}}) behavior. | ||
|
|
||
| For more details about {{cps-init}} configuration, refer to [](/deploy-manage/cross-project-search-config.md). For information about _using_ {{cps-init}}, refer to [](/explore-analyze/cross-project-search.md). | ||
|
|
||
| ## Manage user access [manage-user-access] | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
|
|
||
| Access to data in linked projects is determined by the [roles](/deploy-manage/users-roles/cluster-or-deployment-auth/user-roles.md) assigned to the user in each project. Whether a user queries a project directly or through {{cps}}, the same permissions apply. | ||
|
|
||
| When a {{cps}} query reaches a linked project, the system verifies the user's identity and evaluates the roles assigned to that user in the linked project. Users can only access resources if their roles permit. This means {{cps}} results can vary by user, depending on each user's role assignments across projects. | ||
|
|
||
| For example, if a user has read access to the `logs` index in Project B but not in Project C, a {{cps}} for `logs` returns documents from Project B and silently excludes Project C. | ||
|
|
||
| For the full security model, including how authentication and authorization work across projects, refer to [Security](/explore-analyze/cross-project-search.md#security) in **Explore and analyze**. | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
|
|
||
| ### Administrator tasks | ||
|
|
||
| - Make sure that users who need to search across linked projects have a [role assigned](/deploy-manage/users-roles.md) on each linked project they need to access. Authorization is evaluated on the linked project, without regard to the origin project. | ||
| - If a user reports missing data from a linked project, check their role assignment on that specific linked project first. | ||
|
|
||
| % TODO alerting impacts of user role changes | ||
|
|
||
| ## Manage {{cps}} scope [cps-search-scope] | ||
|
|
||
| ### About {{cps-init}} scope | ||
|
|
||
| The {{cps-init}} _scope_ is the set of searchable resources included in a {{cps}}. The scope can be: | ||
|
|
||
| - Origin project + all linked projects (default) | ||
| - Origin project + a set of linked projects, as defined by project routing | ||
| - Origin project only | ||
|
|
||
| The scope is further restricted by the user's or key's permissions. | ||
|
|
||
| Users can also set the scope on a per-query basis as needed, using [qualified search expressions](/explore-analyze/cross-project-search/cross-project-search-search.md#search-expressions) or [project routing](/explore-analyze/cross-project-search/cross-project-search-project-routing.md). | ||
|
marciw marked this conversation as resolved.
Outdated
marciw marked this conversation as resolved.
Outdated
|
||
|
|
||
| By default, an unqualified search from an origin project targets the searchable resources in **all** linked projects, plus the searchable resources in the origin project. This default scope is intentionally broad, to provide the best user experience for searching across linked projects. | ||
|
|
||
| :::{important} | ||
| The broad default {{cps-init}} scope can cause unexpected behavior, especially for alerts and dashboards that operate on the new combined dataset of the origin and all linked projects. Make sure to consider the search scope, including the [default {{cps-init}} scope for the space](#cps-default-search-scope), _before_ your users start working with {{cps}}. | ||
| ::: | ||
|
|
||
| The following actions change the scope of {{cps}}es: | ||
|
|
||
| - **Administrator actions:** | ||
| - Setting the [default {{cps}} scope for a space](#cps-default-search-scope) | ||
| - Adjusting [user permissions](#manage-user-access) using roles or API keys (for example, creating {{ecloud}} API keys that span multiple projects) | ||
| - **User actions:** | ||
| - Using [qualified search expressions](/explore-analyze/cross-project-search/cross-project-search-search.md#search-expressions) | ||
| - Using [project routing](/explore-analyze/cross-project-search/cross-project-search-project-routing.md) | ||
|
|
||
| The scope controls which projects receive the search request, while _filtering_ controls which results are returned by the search. | ||
|
shainaraskas marked this conversation as resolved.
Outdated
|
||
|
|
||
| ### Set the default {{cps-init}} scope for a space [cps-default-search-scope] | ||
|
|
||
| You can adjust the broad {{cps-init}} default by setting a narrower {{cps}} scope for each space. This setting determines the _default_ search scope for all users in that space. Users can override the default by setting their preferred scope when searching, filtering, or running queries. | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
|
|
||
| Space settings are managed in {{kib}}. | ||
|
|
||
| 1. To open space settings, click **Manage spaces** at the top of the **{{cps-cap}}** page. Select the space you want to configure. | ||
|
|
||
| % ::::{important} | ||
| % If you don't adjust the default search scope, all searches, dashboards | ||
| % visualizations, and alerting rules in the origin project will query data from | ||
| % **every** linked project. | ||
| % :::: | ||
|
|
||
| 2. In the general space settings, find the **{{cps-cap}}** panel and set the default scope for the space: | ||
| - **All projects:** (default) Searches run across the origin project and all linked projects. | ||
| - **This project:** Searches run only against the origin project's data. | ||
|
|
||
| 3. Click **Apply changes** to save the scope setting. | ||
|
|
||
| % (not yet) - **Specific projects:** Select individual linked projects to include in the default scope. | ||
|
|
||
| ::::{note} | ||
| The default {{cps}} scope is a space setting, not an access control. You can also [manage user access](#manage-user-access). | ||
| :::: | ||
|
|
||
| ### How {{cps-init}} scope works in {{kib}} | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
|
|
||
| When processing a search request, {{kib}} applies the most specific scope setting available: | ||
|
|
||
| 1. **Saved object scope (most specific):** Explicit project routing saved on a specific rule, dashboard panel, or other saved object (for example, `project_routing: _origin`). | ||
|
marciw marked this conversation as resolved.
Outdated
|
||
| 2. **Space-level default:** The default {{cps}} scope that an administrator configures for a space. | ||
| 3. **{{cps-init}} default (least specific):** The default broad setting, which searches the origin project and all linked projects. | ||
|
|
||
| New dashboards, rules, and saved searches automatically adopt the space's default scope. Existing saved objects that don't have an explicit project routing also follow the space-level default. | ||
|
marciw marked this conversation as resolved.
Outdated
marciw marked this conversation as resolved.
Outdated
|
||
32 changes: 32 additions & 0 deletions
32
deploy-manage/cross-project-search-config/cps-config-impacts-and-limitations.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| --- | ||
| applies_to: | ||
| stack: unavailable | ||
| serverless: preview | ||
| products: | ||
| - id: cloud-serverless | ||
| navigation_title: "Impacts and limitations" | ||
| --- | ||
|
|
||
| # {{cps-cap}} impacts and limitations [cps-impacts-and-limitations] | ||
|
shainaraskas marked this conversation as resolved.
Outdated
|
||
|
|
||
| This page explains how setting up {{cps}} ({{cps-init}}) affects features in the origin project, and lists overall limitations of {{cps-init}}. | ||
|
|
||
| For more details about {{cps-init}} configuration, refer to [](/deploy-manage/cross-project-search-config.md). For information about _using_ {{cps-init}}, refer to [](/explore-analyze/cross-project-search.md). | ||
|
|
||
| ## Feature impacts [cps-feature-impacts] | ||
|
|
||
|
marciw marked this conversation as resolved.
Outdated
|
||
| % TODO billing: {{cps-init}} generates network egress when the origin project queries linked projects. Data transfer fees may apply, especially for cross-region or cross-cloud-provider queries. | ||
| % TODO link to billing docs (D3B) when available. Exact billing SKU may still be TBD. | ||
|
|
||
| - **Alerting:** By default, alerting rules in the origin project run against the **combined dataset** of the origin and all linked projects. Alerting rules tuned for a single project's data might produce false positives when they evaluate a larger dataset. This is one reason we recommend using a dedicated [overview project](/deploy-manage/cross-project-search-config.md#cps-arch-overview), so that existing alerting rules on data projects are not affected. | ||
|
|
||
| % TODO link to alerting impacts doc when available | ||
|
|
||
| - **Dashboards and visualizations:** Existing dashboards and visualizations in the origin project will query all linked projects by default. To control this, set the [default {{cps}} scope](/deploy-manage/cross-project-search-config/cps-config-access-and-scope.md#cps-default-search-scope) for each space, or save explicit project routing on individual dashboard panels. | ||
|
|
||
| - **User permissions:** {{cps-cap}} results are filtered by each user's role assignments across projects. Users with different roles will see different results from the same query. Refer to [Manage user access](/deploy-manage/cross-project-search-config/cps-config-access-and-scope.md#manage-user-access). | ||
|
|
||
| ## Limitations [cps-limitations] | ||
|
|
||
| ::::{include} /deploy-manage/_snippets/cps-limitations-core.md | ||
| :::: | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.