Adding space_id field mapping to kibana reporting template#128336
Merged
ymao1 merged 6 commits intoelastic:mainfrom Jun 6, 2025
Merged
Adding space_id field mapping to kibana reporting template#128336ymao1 merged 6 commits intoelastic:mainfrom
space_id field mapping to kibana reporting template#128336ymao1 merged 6 commits intoelastic:mainfrom
Conversation
Collaborator
|
Pinging @elastic/es-data-management (Team:Data Management) |
Contributor
Author
|
run elasticsearch-ci/8.19.0/bwc-snapshots |
Contributor
Author
|
run elasticsearch-ci/bwc-snapshots |
Contributor
Author
|
run elasticsearch-ci/part-1 |
ymao1
added a commit
to elastic/kibana
that referenced
this pull request
Jun 6, 2025
…d in the current space. (#221375) Resolves #219881 ## Summary * Saves `space_id` in the report source document when a report is generated. * Updated the `list` API to filter by `space_id` (if available). The filter also includes documents where `space_id` is not populated in order to maintain backwards compatibility with old reports that don't include the `space_id` field. This is an internal API so this change should be allowed. * Associated Elasticsearch PR to add `space_id` to the report index mapping: elastic/elasticsearch#128336 ## To Verify * On `main`, generate reports in different spaces * Switch to this branch and generate more reports in different spaces * Verify that you only see the new reports generated in the current space + the old reports generated on `main` with no space id. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Collaborator
💚 Backport successful
|
ymao1
added a commit
to ymao1/elasticsearch
that referenced
this pull request
Jun 6, 2025
ymao1
added a commit
to ymao1/kibana
that referenced
this pull request
Jun 6, 2025
…d in the current space. (elastic#221375) Resolves elastic#219881 ## Summary * Saves `space_id` in the report source document when a report is generated. * Updated the `list` API to filter by `space_id` (if available). The filter also includes documents where `space_id` is not populated in order to maintain backwards compatibility with old reports that don't include the `space_id` field. This is an internal API so this change should be allowed. * Associated Elasticsearch PR to add `space_id` to the report index mapping: elastic/elasticsearch#128336 ## To Verify * On `main`, generate reports in different spaces * Switch to this branch and generate more reports in different spaces * Verify that you only see the new reports generated in the current space + the old reports generated on `main` with no space id. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit a55c72d) # Conflicts: # x-pack/platform/plugins/private/reporting/server/routes/common/jobs/jobs_query.test.ts
elasticsearchmachine
pushed a commit
that referenced
this pull request
Jun 6, 2025
mridula-s109
pushed a commit
to mridula-s109/elasticsearch
that referenced
this pull request
Jun 9, 2025
pmuellr
pushed a commit
to pmuellr/kibana
that referenced
this pull request
Jun 11, 2025
…d in the current space. (elastic#221375) Resolves elastic#219881 ## Summary * Saves `space_id` in the report source document when a report is generated. * Updated the `list` API to filter by `space_id` (if available). The filter also includes documents where `space_id` is not populated in order to maintain backwards compatibility with old reports that don't include the `space_id` field. This is an internal API so this change should be allowed. * Associated Elasticsearch PR to add `space_id` to the report index mapping: elastic/elasticsearch#128336 ## To Verify * On `main`, generate reports in different spaces * Switch to this branch and generate more reports in different spaces * Verify that you only see the new reports generated in the current space + the old reports generated on `main` with no space id. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
valeriy42
pushed a commit
to valeriy42/elasticsearch
that referenced
this pull request
Jun 12, 2025
nickpeihl
pushed a commit
to nickpeihl/kibana
that referenced
this pull request
Jun 12, 2025
…d in the current space. (elastic#221375) Resolves elastic#219881 ## Summary * Saves `space_id` in the report source document when a report is generated. * Updated the `list` API to filter by `space_id` (if available). The filter also includes documents where `space_id` is not populated in order to maintain backwards compatibility with old reports that don't include the `space_id` field. This is an internal API so this change should be allowed. * Associated Elasticsearch PR to add `space_id` to the report index mapping: elastic/elasticsearch#128336 ## To Verify * On `main`, generate reports in different spaces * Switch to this branch and generate more reports in different spaces * Verify that you only see the new reports generated in the current space + the old reports generated on `main` with no space id. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adding
space_idfield mapping to kibana reporting template to support filtering by space ID (related Kibana PR: elastic/kibana#221375)