Skip to content

Commit

Permalink
Add missing ISM rollover index setting for otel span indices
Browse files Browse the repository at this point in the history
Indices require the rollover_alias ISM setting otherwise rollover actions by an ISM policy (raw-span-policy) are failing.
Reference: https://opensearch.org/docs/2.11/im-plugin/ism/error-prevention/resolutions/#the-rollover-policy-misses-rollover_alias-index-setting

Issue: opensearch-project#3506

Signed-off-by: Jannik Brand <[email protected]>
  • Loading branch information
JannikBrand committed Nov 2, 2023
1 parent 7869eb7 commit 79179be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"version": 1,
"template": {
"settings": {
"plugins.index_state_management.rollover_alias": "otel-v1-apm-span"
},
"mappings": {
"date_detection": false,
"dynamic_templates": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"version": 1,
"settings": {
"plugins.index_state_management.rollover_alias": "otel-v1-apm-span"
},
"mappings": {
"date_detection": false,
"dynamic_templates": [
Expand Down

0 comments on commit 79179be

Please sign in to comment.