max_docs
action: rollover
description: >-
Rollover the index associated with alias 'aliasname', which should be in the
form of prefix-000001 (or similar), or prefix-yyyy.MM.DD-1.
options:
name: aliasname
conditions:
max_docs: 1000000
Note
The maximum number of documents allowed in an index before triggering a rollover. It must be nested under conditions:
There is no default value. If this condition is specified, it must have a value, or Curator will generate an error.