-
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.
Browse files
Browse the repository at this point in the history
…#193723) # Backport This will backport the following commits from `main` to `8.x`: - [[Logs] Remove AI Assistant specific log index setting (#192003)](#192003) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kerry Gallagher","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-17T13:26:54Z","message":"[Logs] Remove AI Assistant specific log index setting (#192003)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/logs-dev/issues/167.\r\n\r\n- Removes registration of the AI Assistant specific advanced setting\r\n(`observability:aiAssistantLogsIndexPattern`).\r\n- Replaces the setting with use of the central log sources setting\r\n(`observability:logSources`).\r\n- ℹ️ Also registers the central log sources setting in serverless (this\r\nwas missed previously).\r\n\r\nDue to the impact that this setting has on alerts\r\n([Discussion](https://github.com/elastic/logs-dev/issues/170#issuecomment-2229130314))\r\na migration path from one setting to the other isn't really possible, as\r\nvalues from the AI Assistant setting could potentially cause unwanted\r\nalerts. As such these changes opt for the route that we'll do a straight\r\nswap, and document this in release notes.\r\n\r\nWe will also need to do a migration on the `config` (for advanced\r\nsettings) Saved Object to remove instances of the old setting /\r\nproperty. With the new \"model version\" migration model [my understanding\r\nis this should happen in a separate followup\r\nPR](https://github.com/elastic/kibana/blob/main/packages/core/saved-objects/core-saved-objects-server/src/model_version/model_change.ts#L131).\r\n\r\n⚠️ ~One potentially open question is whether the custom management\r\nsection that the AI Assistant mounts when clicking \"AI Assistant\r\nSettings\" should render the log sources setting? (As this setting\r\naffects more than just the AI Assistant).~\r\n[Resolved](https://github.com/elastic/kibana/pull/192003#issuecomment-2352727034)\r\n\r\n![Screenshot 2024-09-05 at 11 53\r\n31](https://github.com/user-attachments/assets/ac3816ca-9021-42f1-9a9c-4c623c6943bb)\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"ebe4686e6c53a640d8ff2cfc60a7eeceb132812b","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:deprecation","backport:skip","v9.0.0","Team:Obs AI Assistant","ci:project-deploy-observability","Team:obs-ux-logs","Team:obs-ux-infra_services","apm:review"],"number":192003,"url":"https://github.com/elastic/kibana/pull/192003","mergeCommit":{"message":"[Logs] Remove AI Assistant specific log index setting (#192003)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/logs-dev/issues/167.\r\n\r\n- Removes registration of the AI Assistant specific advanced setting\r\n(`observability:aiAssistantLogsIndexPattern`).\r\n- Replaces the setting with use of the central log sources setting\r\n(`observability:logSources`).\r\n- ℹ️ Also registers the central log sources setting in serverless (this\r\nwas missed previously).\r\n\r\nDue to the impact that this setting has on alerts\r\n([Discussion](https://github.com/elastic/logs-dev/issues/170#issuecomment-2229130314))\r\na migration path from one setting to the other isn't really possible, as\r\nvalues from the AI Assistant setting could potentially cause unwanted\r\nalerts. As such these changes opt for the route that we'll do a straight\r\nswap, and document this in release notes.\r\n\r\nWe will also need to do a migration on the `config` (for advanced\r\nsettings) Saved Object to remove instances of the old setting /\r\nproperty. With the new \"model version\" migration model [my understanding\r\nis this should happen in a separate followup\r\nPR](https://github.com/elastic/kibana/blob/main/packages/core/saved-objects/core-saved-objects-server/src/model_version/model_change.ts#L131).\r\n\r\n⚠️ ~One potentially open question is whether the custom management\r\nsection that the AI Assistant mounts when clicking \"AI Assistant\r\nSettings\" should render the log sources setting? (As this setting\r\naffects more than just the AI Assistant).~\r\n[Resolved](https://github.com/elastic/kibana/pull/192003#issuecomment-2352727034)\r\n\r\n![Screenshot 2024-09-05 at 11 53\r\n31](https://github.com/user-attachments/assets/ac3816ca-9021-42f1-9a9c-4c623c6943bb)\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"ebe4686e6c53a640d8ff2cfc60a7eeceb132812b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/192003","number":192003,"mergeCommit":{"message":"[Logs] Remove AI Assistant specific log index setting (#192003)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/logs-dev/issues/167.\r\n\r\n- Removes registration of the AI Assistant specific advanced setting\r\n(`observability:aiAssistantLogsIndexPattern`).\r\n- Replaces the setting with use of the central log sources setting\r\n(`observability:logSources`).\r\n- ℹ️ Also registers the central log sources setting in serverless (this\r\nwas missed previously).\r\n\r\nDue to the impact that this setting has on alerts\r\n([Discussion](https://github.com/elastic/logs-dev/issues/170#issuecomment-2229130314))\r\na migration path from one setting to the other isn't really possible, as\r\nvalues from the AI Assistant setting could potentially cause unwanted\r\nalerts. As such these changes opt for the route that we'll do a straight\r\nswap, and document this in release notes.\r\n\r\nWe will also need to do a migration on the `config` (for advanced\r\nsettings) Saved Object to remove instances of the old setting /\r\nproperty. With the new \"model version\" migration model [my understanding\r\nis this should happen in a separate followup\r\nPR](https://github.com/elastic/kibana/blob/main/packages/core/saved-objects/core-saved-objects-server/src/model_version/model_change.ts#L131).\r\n\r\n⚠️ ~One potentially open question is whether the custom management\r\nsection that the AI Assistant mounts when clicking \"AI Assistant\r\nSettings\" should render the log sources setting? (As this setting\r\naffects more than just the AI Assistant).~\r\n[Resolved](https://github.com/elastic/kibana/pull/192003#issuecomment-2352727034)\r\n\r\n![Screenshot 2024-09-05 at 11 53\r\n31](https://github.com/user-attachments/assets/ac3816ca-9021-42f1-9a9c-4c623c6943bb)\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"ebe4686e6c53a640d8ff2cfc60a7eeceb132812b"}}]}] BACKPORT-->
- Loading branch information
Showing
37 changed files
with
215 additions
and
244 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
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.