A newer version is available. For the latest information, see the
current release documentation.
direction
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
direction
editThis setting is only used with the age filtertype.
This setting must be either older or younger. This setting is used to
determine whether indices or snapshots are older or younger than the
reference point in time determined by unit,
unit_count, and optionally, epoch. If
direction is older, then indices (or snapshots) which are older than the
reference point in time will be matched. Likewise, if direction is
younger, then indices (or snapshots) which are younger than the reference
point in time will be matched.
There is no default value. This setting must be set by the user or an exception will be raised, and execution will halt.