Skip to content

Delete-all requests for index templates should exclude templates for hidden data streams #78850

@danhermann

Description

@danhermann

Requests to delete * or _all index templates should exclude any templates for hidden data streams. Because of the restriction on deleting templates for data streams and the fact that there are now a number of automatically-created hidden data streams such as ILM history, a high percentage of requests to delete all templates will likely fail. In order to delete the template for a hidden data stream, the data stream itself must first be deleted and then the index template may be deleted either individually or with a wildcard that is more selective than *.

We consider this a tactical solution to the immediate problem. Longer term, a more intuitive and holistic approach to resolving entities in Elasticsearch, perhaps something along the lines of the expand_wildcards option, would be preferred.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions