Using rollover got error

(flyfish) #1


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
"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 '^.
"status": 400

Do you know how?

(Aaron Mildenstein) #2

The index behind the alias needs to end in an incrementable number. See

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.