elasticsearch/docs/reference/settings
Andrei Dan c57cca98b2
[ILM] Add date setting to calculate index age (#46561) (#46697)
* [ILM] Add date setting to calculate index age

Add the `index.lifecycle.origination_date` to allow users to configure a
custom date that'll be used to calculate the index age for the phase
transmissions (as opposed to the default index creation date).

This could be useful for users to create an index with an "older"
origination date when indexing old data.

Relates to #42449.

* [ILM] Don't override creation date on policy init

The initial approach we took was to override the lifecycle creation date
if the `index.lifecycle.origination_date` setting was set. This had the
disadvantage of the user not being able to update the `origination_date`
anymore once set.

This commit changes the way we makes use of the
`index.lifecycle.origination_date` setting by checking its value when
we calculate the index age (ie. at "read time") and, in case it's not
set, default to the index creation date.

* Make origination date setting index scope dynamic

* Document orignation date setting in ilm settings

(cherry picked from commit d5bd2bb77e)
Signed-off-by: Andrei Dan <andrei.dan@elastic.co>
2019-09-16 08:50:28 +01:00
..
images [DOCS] Moves X-Pack settings to docs folder (#31120) 2018-06-06 10:05:32 -07:00
audit-settings.asciidoc [DOCS] Removes X-Pack settings section (#39870) 2019-03-14 14:37:37 -07:00
ccr-settings.asciidoc Add documentation on remote recovery (#39483) 2019-03-05 10:17:25 -07:00
data-frames-settings.asciidoc [ML][Data Frame] adding dynamic cluster setting for failure retries (#44577) (#44639) 2019-07-19 16:17:39 -05:00
ilm-settings.asciidoc [ILM] Add date setting to calculate index age (#46561) (#46697) 2019-09-16 08:50:28 +01:00
license-settings.asciidoc [DOCS] Removes X-Pack settings section (#39870) 2019-03-14 14:37:37 -07:00
ml-settings.asciidoc [ML] Introduce a setting for the process connect timeout (#43234) 2019-06-26 09:22:04 +01:00
monitoring-settings.asciidoc [DOCS] Set explicit anchors for TLS/SSL settings (#42524) 2019-05-29 08:25:37 -04:00
notification-settings.asciidoc Add SSL/TLS settings for watcher email (#45836) 2019-08-23 10:13:51 +10:00
security-hash-settings.asciidoc [DOCS] Add configurable password hashing docs (#32849) 2018-08-21 12:05:42 +03:00
security-settings.asciidoc [DOCS] Fix backquote in the list of realm types (#46530) 2019-09-11 12:54:46 -04:00
sql-settings.asciidoc [DOCS] Removes X-Pack settings section (#39870) 2019-03-14 14:37:37 -07:00
ssl-settings.asciidoc [DOCS] Remove unneeded ifdef::asciidoctor[] conditionals (#42758) 2019-05-31 11:05:44 -04:00