OpenSearch/docs/reference/ilm
Lee Hinman fe2ef66e45 Expose index age in ILM explain output (#44457)
* Expose index age in ILM explain output

This adds the index's age to the ILM explain output, for example:

```
{
  "indices" : {
    "ilm-000001" : {
      "index" : "ilm-000001",
      "managed" : true,
      "policy" : "full-lifecycle",
      "lifecycle_date" : "2019-07-16T19:48:22.294Z",
      "lifecycle_date_millis" : 1563306502294,
      "age" : "1.34m",
      "phase" : "hot",
      "phase_time" : "2019-07-16T19:48:22.487Z",
      ... etc ...
    }
  }
}
```

This age can be used to tell when ILM will transition the index to the
next phase, based on that phase's `min_age`.

Resolves #38988

* Expose age in getters and in HLRC
2019-07-18 15:33:45 -06:00
..
apis Expose index age in ILM explain output (#44457) 2019-07-18 15:33:45 -06:00
error-handling.asciidoc Expose index age in ILM explain output (#44457) 2019-07-18 15:33:45 -06:00
getting-started-ilm.asciidoc Expose index age in ILM explain output (#44457) 2019-07-18 15:33:45 -06:00
getting-started-slm.asciidoc [7.x] Add Snapshot Lifecycle Management (#44382) 2019-07-16 07:37:13 -06:00
ilm-and-snapshots.asciidoc Remove "beta" modifier from ILM documentation (#37326) 2019-01-10 13:38:14 -07:00
index.asciidoc [7.x] Add Snapshot Lifecycle Management (#44382) 2019-07-16 07:37:13 -06:00
policy-definitions.asciidoc [DOCS] Revise GS intro and remove redundant conceptual content. Closes #43846. 2019-07-02 18:28:13 -07:00
set-up-lifecycle-policy.asciidoc Remove `include_type_name` in asciidoc where possible (#37568) 2019-01-18 09:34:11 +01:00
start-stop-ilm.asciidoc [7.x] Add Snapshot Lifecycle Management (#44382) 2019-07-16 07:37:13 -06:00
update-lifecycle-policy.asciidoc Expose index age in ILM explain output (#44457) 2019-07-18 15:33:45 -06:00
using-policies-rollover.asciidoc [DOCS] Add anchors for Asciidoctor migration (#41648) 2019-04-30 10:20:17 -04:00