-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [One Discover] Add summary column for logs contextual experience (
#192567) (#194389) # Backport This will backport the following commits from `main` to `8.x`: - [[One Discover] Add summary column for logs contextual experience (#192567)](#192567) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Marco Antonio Ghiani","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-30T09:08:03Z","message":"[One Discover] Add summary column for logs contextual experience (#192567)\n\n## 📓 Summary\r\n\r\nCloses https://github.com/elastic/logs-dev/issues/165\r\n\r\nThis work introduces a Summary column as a replacement for the Document\r\none for the Discover logs contextual experience.\r\n> We also decided to port this change as a replacement for the\r\n**resource** and **content** virtual columns in Logs Explorer to have a\r\nbetter alignment between the 2 apps.\r\n\r\n## 🎥 Demo\r\n\r\n\r\nhttps://github.com/user-attachments/assets/3dfca483-768e-471c-8735-d5fc8bbd5d00\r\n\r\n## 💡 Reviewer hints\r\n\r\nI left notes through the changes to help answer some questions.\r\n\r\nThe notable changes on this PR are:\r\n- Rename `Document` column to `Summary`.\r\n- Refactor `resource` and `content` virtual columns into a single\r\n`Summary` column, which replaces the default Summary content for the\r\nlogs' contextual experience.\r\n- Provide support for the plugin services to the context awareness\r\nprofiles.\r\n- Disable virtual columns (clean up will go in a follow-up work) in Logs\r\nExplorer and rely on the Summary column as the default selection.\r\n\r\n---------\r\n\r\nCo-authored-by: Marco Antonio Ghiani <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Davis McPhee <[email protected]>","sha":"36a73ce52e2ca14c2d46c3a6504ebaa53fed9f98","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["v9.0.0","release_note:feature","Team:DataDiscovery","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-logs","Project:OneDiscover"],"title":"[One Discover] Add summary column for logs contextual experience","number":192567,"url":"https://github.com/elastic/kibana/pull/192567","mergeCommit":{"message":"[One Discover] Add summary column for logs contextual experience (#192567)\n\n## 📓 Summary\r\n\r\nCloses https://github.com/elastic/logs-dev/issues/165\r\n\r\nThis work introduces a Summary column as a replacement for the Document\r\none for the Discover logs contextual experience.\r\n> We also decided to port this change as a replacement for the\r\n**resource** and **content** virtual columns in Logs Explorer to have a\r\nbetter alignment between the 2 apps.\r\n\r\n## 🎥 Demo\r\n\r\n\r\nhttps://github.com/user-attachments/assets/3dfca483-768e-471c-8735-d5fc8bbd5d00\r\n\r\n## 💡 Reviewer hints\r\n\r\nI left notes through the changes to help answer some questions.\r\n\r\nThe notable changes on this PR are:\r\n- Rename `Document` column to `Summary`.\r\n- Refactor `resource` and `content` virtual columns into a single\r\n`Summary` column, which replaces the default Summary content for the\r\nlogs' contextual experience.\r\n- Provide support for the plugin services to the context awareness\r\nprofiles.\r\n- Disable virtual columns (clean up will go in a follow-up work) in Logs\r\nExplorer and rely on the Summary column as the default selection.\r\n\r\n---------\r\n\r\nCo-authored-by: Marco Antonio Ghiani <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Davis McPhee <[email protected]>","sha":"36a73ce52e2ca14c2d46c3a6504ebaa53fed9f98"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/192567","number":192567,"mergeCommit":{"message":"[One Discover] Add summary column for logs contextual experience (#192567)\n\n## 📓 Summary\r\n\r\nCloses https://github.com/elastic/logs-dev/issues/165\r\n\r\nThis work introduces a Summary column as a replacement for the Document\r\none for the Discover logs contextual experience.\r\n> We also decided to port this change as a replacement for the\r\n**resource** and **content** virtual columns in Logs Explorer to have a\r\nbetter alignment between the 2 apps.\r\n\r\n## 🎥 Demo\r\n\r\n\r\nhttps://github.com/user-attachments/assets/3dfca483-768e-471c-8735-d5fc8bbd5d00\r\n\r\n## 💡 Reviewer hints\r\n\r\nI left notes through the changes to help answer some questions.\r\n\r\nThe notable changes on this PR are:\r\n- Rename `Document` column to `Summary`.\r\n- Refactor `resource` and `content` virtual columns into a single\r\n`Summary` column, which replaces the default Summary content for the\r\nlogs' contextual experience.\r\n- Provide support for the plugin services to the context awareness\r\nprofiles.\r\n- Disable virtual columns (clean up will go in a follow-up work) in Logs\r\nExplorer and rely on the Summary column as the default selection.\r\n\r\n---------\r\n\r\nCo-authored-by: Marco Antonio Ghiani <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Davis McPhee <[email protected]>","sha":"36a73ce52e2ca14c2d46c3a6504ebaa53fed9f98"}}]}] BACKPORT--> Co-authored-by: Marco Antonio Ghiani <[email protected]>
- Loading branch information
1 parent
a2a135d
commit a17659f
Showing
92 changed files
with
1,482 additions
and
1,327 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
17 changes: 0 additions & 17 deletions
17
packages/kbn-discover-utils/src/data_types/logs/utils/get_field_from_doc.ts
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.