A newer version is available. For the latest information, see the current release documentation.
This flag only functions within the scope of index selection or snapshot selection.
Filter indices "newer than" the given number of time-units. The indices must also have a --timestring.
The value provided indicates a given number of time-units ago to use as a reference point. All indices "newer than" that point will be included.
--newer-thanInclude only indices newer than n time-units
--time-unitUnit of time to reckon by. Can be one of
--timestringPython strftime string to match your index definition. 2014.07.15 would be
Snapshot daily Logstash indices newer than 2 days:
curator snapshot --repository REPO indices --time-unit days --newer-than 2 --timestring '%Y.%m.%d' --prefix logstash
Intro to Kibana
ELK for Logs & Metrics