Skip to content

Commit 3fc6b6f

Browse files
committed
[ML] Add .reindexed-v7-ml-anomalies-* to anomaly results template index pattern (elastic#135270)
Anomaly detection results indices created in a version 6 Elasticsearch are reindexed and renamed with the ".reindexed-v7" prefix in version 7. In 8.18 and 8.19, those version 7 indices are rolled over in preparation for the version 9 upgrade. ".reindexed-v7-ml-anomalies-*" is added to the AD results index template index patterns so when those indices are rolled over the pick up the correct mappings
1 parent 7c5a707 commit 3fc6b6f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docs/changelog/135270.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 135270
2+
summary: Add .reindexed-v7-ml-anomalies-* to anomaly results template index pattern
3+
area: Machine Learning
4+
type: bug
5+
issues: []

x-pack/plugin/core/template-resources/src/main/resources/ml/anomalydetection/results_index_template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"priority": 2147483647,
33
"version" : ${xpack.ml.version.id},
44
"index_patterns" : [
5-
".ml-anomalies-*"
5+
".ml-anomalies-*", ".reindexed-v7-ml-anomalies-*"
66
],
77
"template" : {
88
"settings" : {

0 commit comments

Comments
 (0)