Snapshot and restore doesn't compute Index math expressions #69642
Labels
:Data Management/ILM+SLM
Index and Snapshot lifecycle management
Team:Data Management
Meta label for data/management team
Kibana version: 7.10.0
Elasticsearch version: 7.10.0
Server OS version: Centos 7
Browser version: Chrome
Browser OS version: Windows 10
Original install method (e.g. download page, yum, from source, etc.): Yum
Describe the bug:
Snapshot and restore doesn't compute Index math expressions for 'Data streams and indices'. Instead, the whole expression is passed as a string/fails to compile and therefore doesn't match any indices, causing the snapshot to fail.
For example, todays date being 08/12/2020, the expression <cowrie-honeypot-{now/d-1d}> is being pased as literal string/failing to compute, resulting in "cowrie-honeypot-{now/d-1d}>" rather than "cowrie-honeypot-07/12/2020"
Steps to reproduce:
Expected behavior:
The maths expression shpuld be compiled when looking for indexes, for example '<cowrie-honeypot-{now/d-1d}>' to 'cowrie-honeypot-07/12/2020'
Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Snapshot failure details:
Any additional context:
The text was updated successfully, but these errors were encountered: