I have a rollup job set up to send logs from system metrics to a standard index called rolled-metrics-system-rollup
. I encountered an error during the lifecycle rollover process and, upon investigation, found the following error: "Error: rollover_alias
does not point to an index". After checking the index settings, I noticed that while the lifecycle policy was applied, the rollover alias was missing.
To resolve this, I referred to a solution shared on the Elastic community's YouTube channel in this video and applied the solution as suggested. However, I am now encountering a new error:
"Index lifecycle error illegal_argument_exception
: index name [rolled-metrics-system-rollup]
does not match pattern ^*-\d+$
"
Potential Solutions I’m Considering:
- Renaming the existing index directly isn't possible, correct?
- Updating the rollup job itself also seems unfeasible, correct?
- Therefore, the only solution might be to create a new rollup job and specify the output index name as something like
rolled-metrics-system-rollup-00001
, correct?
Could you guide me on how best to proceed here?
Elastic Stack elasticsearch ilm-index-lifecycle-management rollups