max_sizeedit

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_size: 5gb

At least one of max_age, max_docs, max_size or any combinations of the three are required as conditions: for the Rollover action.

The maximum approximate size an index is allowed to be before triggering a rollover. Sizes must use Elasticsearch approved byte units. 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.