Skip to content

index going to "completed" ILM phase instead of "warm" #46357

@DanRoscigno

Description

@DanRoscigno

Bug report

Elasticsearch version
7.2.0 and 7.3.1 ESS

Description of the problem including expected versus actual behavior:
When I look at my indices under index management and apply the Lifecycle filters (hot, warm, cold) I see that I have a bunch of Filebeat indices that are not in any of the above states. When I look at the details I see the state is "completed":

image

Using the following ILM policy index should go to "warm" on rollover:

{
    "policy": {
        "phases": {
            "hot": {
                "min_age": "0ms",
                "actions": {
                    "rollover": {
                        "max_age": "1h",
                        "max_size": "50mb",
                        "max_docs": 100
                    }
                }
            },
            "warm": {
                "min_age": "1h",
                "actions": {
                    "allocate": {
                        "include": {},
                        "exclude": {},
                        "require": {
                            "data": "warm"
                        }
                    }
                }
            }
        }
    }
}

Steps to reproduce:

  1. Run filebeat setup
  2. Edit ILM policy to reduce time (so you do not have to wait 30 days)
  3. Run filebeat
  4. Wait for rollover

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions