Hi,
I just created an alias which name is "squid-log-alias" for my index "squid-log", and when I setup rollover API and I got the error:
POST /squid-log-alias/_rollover
{
"conditions":{
"max_age": "7d",
"max_docs": 1000
}
}
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "index name [squid-log] does not match pattern '^.-\d+$'"
}
],
"type": "illegal_argument_exception",
"reason": "index name [squid-log] does not match pattern '^.-\d+$'"
},
"status": 400
}
Do you know how?