--time-unitedit

Summaryedit

Important

This flag only functions within the scope of index selection or snapshot selection.

As a part of index selection or snapshot selection you can filter indices or snapshots --older-than or --newer-than a given point in time. The --time-unit flag is required when using --older-than or --newer-than to help determine how many days, hours, weeks, and months. The value you provide to --older-than or --newer-than will be multiplied by the --time-unit: 5 days, 3 hours, etc. A --timestring is also required in order for Curator to recognize the date pattern in your index or snapshot names.

Flagsedit

  • --time-unit The time interval between indices, e.g. hours, days, weeks, or months(default: days)

Exampleedit

Show indices older than 5 days:

curator show indices --older-than 5 --time-unit days --timestring '%Y.%m.%d'