Skip to content

Commit d061c11

Browse files
authored
[DOCS]: ILM rollover max_age condition disregards origination date (#64404)
1 parent 54911ac commit d061c11

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docs/reference/ilm/actions/ilm-rollover.asciidoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,12 @@ You must specify at least one rollover condition.
4949
An empty rollover action is invalid.
5050

5151
`max_age`::
52-
(Optional, <<time-units, time units>>)
53-
Triggers roll over after the maximum elapsed time from index creation is reached.
52+
(Optional, <<time-units, time units>>)
53+
Triggers roll over after the maximum elapsed time from index creation is reached.
54+
The elapsed time is always calculated since the index creation time, even if the
55+
index origination date is configured to a custom date (via the
56+
<<index-lifecycle-parse-origination-date, index.lifecycle.parse_origination_date>> or
57+
<<index-lifecycle-origination-date, index.lifecycle.origination_date>> settings)
5458

5559
`max_docs`::
5660
(Optional, integer)

docs/reference/settings/ilm-settings.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Use this setting if you create a new index that contains old data and
4848
want to use the original creation date to calculate the index age.
4949
Specified as a Unix epoch value in milliseconds.
5050

51+
[[index-lifecycle-parse-origination-date]]
5152
`index.lifecycle.parse_origination_date`::
5253
(<<indices-update-settings,Dynamic>>, Boolean)
5354
Set to `true` to parse the origination date from the index name.

0 commit comments

Comments
 (0)