Skip to content

Facilitate adding new fields to existing indices #48063

Closed
@jpountz

Description

@jpountz

One use-case we would like to better support at the stack level is the ability to introduce new fields in time-based indices. The way it is done today consists of adding fields to the index template and maybe an ingest processor so that future indices would pick it up. One issue with this approach is that the field only becomes really available after some time, when all indices in common time ranges have this new field indexed. These couple hours/days during which the field is not yet available on enough historical data are sometimes problematic.

Could we support adding field views to existing indices to better support this use-case, e.g. by supporting scripted fields? Performance would obviously be bad for some time, but this is sometimes a better trade-off than having to wait for a long time before being effectively able to use the new field in Kibana.

Probably depends on #48058

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search Foundations/MappingIndex mappings, including merging and defining field types>featureTeam:Search FoundationsMeta label for the Search Foundations team in Elasticsearch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions