Skip to content

Commit a461f0e

Browse files
[8.19] [Docs] Add known issue about AI Obs Assistant KB documents (#220397) (#220402)
# Backport This will backport the following commits from `8.18` to `8.19`: - [[Docs] Add known issue about AI Obs Assistant KB documents (#220397)](#220397) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"florent-leborgne","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-05-07T16:35:39Z","message":"[Docs] Add known issue about AI Obs Assistant KB documents (#220397)\n\n^^ \n\nLet me know if we should add more links to more context, etc. \nI added the entry to every minor release notes section of 8.18 and 8.17\nminor will create a different PR to the new docs system to document this\nfor 9.0.\n\n<img width=\"869\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/51fb8817-46b6-45bb-b8ec-1e249b148636\"\n/>\n<img width=\"864\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/d67b561a-9f17-43fd-bcff-414bdea8c145\"\n/>","sha":"8dc5e09130d7e8b15412dc272a09b814b9c6fda9","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","docs","backport:version","v8.17.0","v8.18.0","v8.19.0"],"title":"[Docs] Add known issue about AI Obs Assistant KB documents","number":220397,"url":"https://github.com/elastic/kibana/pull/220397","mergeCommit":{"message":"[Docs] Add known issue about AI Obs Assistant KB documents (#220397)\n\n^^ \n\nLet me know if we should add more links to more context, etc. \nI added the entry to every minor release notes section of 8.18 and 8.17\nminor will create a different PR to the new docs system to document this\nfor 9.0.\n\n<img width=\"869\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/51fb8817-46b6-45bb-b8ec-1e249b148636\"\n/>\n<img width=\"864\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/d67b561a-9f17-43fd-bcff-414bdea8c145\"\n/>","sha":"8dc5e09130d7e8b15412dc272a09b814b9c6fda9"}},"sourceBranch":"8.18","suggestedTargetBranches":["8.17","8.19"],"targetPullRequestStates":[{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/220397","number":220397,"mergeCommit":{"message":"[Docs] Add known issue about AI Obs Assistant KB documents (#220397)\n\n^^ \n\nLet me know if we should add more links to more context, etc. \nI added the entry to every minor release notes section of 8.18 and 8.17\nminor will create a different PR to the new docs system to document this\nfor 9.0.\n\n<img width=\"869\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/51fb8817-46b6-45bb-b8ec-1e249b148636\"\n/>\n<img width=\"864\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/d67b561a-9f17-43fd-bcff-414bdea8c145\"\n/>","sha":"8dc5e09130d7e8b15412dc272a09b814b9c6fda9"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
1 parent c33803c commit a461f0e

File tree

1 file changed

+96
-0
lines changed

1 file changed

+96
-0
lines changed

docs/CHANGELOG.asciidoc

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ include::upgrade-notes.asciidoc[]
100100

101101
The 8.18.1 release includes the following enhancements and fixes.
102102

103+
[float]
104+
[[known-issues-8.18.1]]
105+
=== Known issues
106+
107+
include::CHANGELOG.asciidoc[tag=known-issue-220339]
108+
103109
[float]
104110
[[enhancement-v8.18.1]]
105111
=== Enhancements
@@ -140,6 +146,62 @@ Review the following information about the {kib} 8.18.0 release.
140146
[[known-issues-8.18.0]]
141147
=== Known issues
142148

149+
// tag::known-issue-220339[]
150+
.Observability AI assistant Knowledge Base entries with empty text can lead to Kibana OOM or restarts.
151+
[%collapsible]
152+
====
153+
*Details* +
154+
The semantic text migration can cause excessive traffic to a cluster and might eventually cause the Kibana instance to crash due to OOM, together with increase of requests to Elasticsearch & ML nodes.
155+
156+
The problem can occur when there is one or more empty text Knowledge Base documents.
157+
158+
The migration script does not handle this scenario and will indefinitely update the same document.
159+
160+
Because the document update involves semantic_text an ML node is kept warm further increasing the costs.
161+
162+
The issue involves semantic_text field type (and thus the semantic_text migration which is causing this issue), introduced in the knowledge base feature in 8.17.
163+
164+
*Workaround* +
165+
166+
1. Pause the Kibana instance if possible. If not possible, skip this step.
167+
2. Run a dry run query to identify if you have empty Knowledge Base documents. If you have at least 1 hit, you can be affected by the problem.
168+
+
169+
```sh
170+
GET .kibana-observability-ai-assistant-kb/_search
171+
{
172+
"query": {
173+
"bool": {
174+
"must": [{ "exists": { "field": "text" }}],
175+
"must_not": [ { "wildcard": { "text": "*" } }
176+
]
177+
}
178+
}
179+
}
180+
```
181+
+
182+
3. Execute the deletion. For extra safety, you might want to trigger a snapshot before executing it.
183+
+
184+
```sh
185+
POST .kibana-observability-ai-assistant-kb/_delete_by_query
186+
{
187+
"query": {
188+
"bool": {
189+
"must": [{ "exists": { "field": "text" }}],
190+
"must_not": [ { "wildcard": { "text": "*" } }
191+
]
192+
}
193+
}
194+
}
195+
```
196+
197+
For more information, check:
198+
199+
* https://github.com/elastic/kibana/issues/220339[#220339]
200+
* https://github.com/elastic/kibana/issues/220342[#220342]
201+
202+
====
203+
// end::known-issue-220339[]
204+
143205
// tag::known-issue-211850[]
144206
.Upgrade Assistant - Rollup jobs need to be stopped before rollup indices are reindexed.
145207
[%collapsible]
@@ -409,6 +471,12 @@ Machine Learning::
409471

410472
The 8.17.6 release includes the following enhancements and fixes.
411473

474+
[float]
475+
[[known-issues-8.17.6]]
476+
=== Known issues
477+
478+
include::CHANGELOG.asciidoc[tag=known-issue-220339]
479+
412480
[float]
413481
[[enhancement-v8.17.6]]
414482
=== Enhancements
@@ -449,6 +517,12 @@ Management::
449517

450518
The 8.17.5 release includes the following enhancements and fixes.
451519

520+
[float]
521+
[[known-issues-8.17.5]]
522+
=== Known issues
523+
524+
include::CHANGELOG.asciidoc[tag=known-issue-220339]
525+
452526
[float]
453527
[[enhancement-v8.17.5]]
454528
=== Enhancements
@@ -494,6 +568,12 @@ Management::
494568

495569
The 8.17.4 release includes the following fixes.
496570

571+
[float]
572+
[[known-issues-8.17.4]]
573+
=== Known issues
574+
575+
include::CHANGELOG.asciidoc[tag=known-issue-220339]
576+
497577
[float]
498578
[[fixes-v8.17.4]]
499579
=== Fixes
@@ -513,6 +593,12 @@ Management::
513593
== {kib} 8.17.3
514594
The 8.17.3 release includes the following bug fixes.
515595

596+
[float]
597+
[[known-issues-8.17.3]]
598+
=== Known issues
599+
600+
include::CHANGELOG.asciidoc[tag=known-issue-220339]
601+
516602
[float]
517603
[[fixes-v8.17.3]]
518604
=== Bug fixes
@@ -534,6 +620,12 @@ Sharing::
534620
== {kib} 8.17.2
535621
The 8.17.2 release includes the following bug fixes.
536622

623+
[float]
624+
[[known-issues-8.17.2]]
625+
=== Known issues
626+
627+
include::CHANGELOG.asciidoc[tag=known-issue-220339]
628+
537629
[float]
538630
[[fixes-v8.17.2]]
539631
=== Bug fixes
@@ -554,6 +646,8 @@ The 8.17.1 release includes the following known issues, enhancements, and bug fi
554646

555647
include::CHANGELOG.asciidoc[tag=known-issue-206400]
556648

649+
include::CHANGELOG.asciidoc[tag=known-issue-220339]
650+
557651
[float]
558652
[[enhancement-v8.17.1]]
559653
=== Enhancements
@@ -589,6 +683,8 @@ The 8.17.0 release includes the following known issues.
589683

590684
include::CHANGELOG.asciidoc[tag=known-issue-187254]
591685

686+
include::CHANGELOG.asciidoc[tag=known-issue-220339]
687+
592688
// tag::known-issue-206400[]
593689
.Upgrade Assistant displays configured source mode in mappings as critical deprecation issue.
594690
[%collapsible]

0 commit comments

Comments
 (0)