Lifecycle Policy

Hi
I want to create an index lifecycle policy according to bellow page:

I created an lifecycle with name loglife-policy and an index template with these settings:

{
  "index": {
    "lifecycle": {
      "name": "loglife-policy",
      "rollover_alias": "log-life"
    },
    "number_of_shards": "1",
    "number_of_replicas": "3"
  }
}

I'm stuck with alias and 3phases(hot,warm,cold)
How should I define alias and these phases?!?

Thanks in advance

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.