Hello,
I have a question about elasticsearch 7.4. We want to implement backup via snapshot lifecycle management API using time frame. Here is the query
PUT /_slm/policy/dailypolicy
{
"schedule": "*/5 * * * * ?",
"name": "<daily-snap_{now+1h}>",
"repository": "daily",
"config": {
"indices": ["*"]
}
}
We are trying to add date timestamp to name via math expression which will contain date and time. We have tried {now+1h} expression but it did no contain the time. If could help us how we can add timestamp ( example Resolves to: 2001-01-01 13:00:00) into name.