Skip to content

Honor default_pipeline on scripted _index rewrites #42019

@peterpramb

Description

@peterpramb

Describe the feature:

Ingest pipelines allow for rewriting _index using the script processor (and possibly others), dynamically dispatching documents to different indices. Unfortunately, while index templates are considered for the new target index, a defined default_pipeline is not executed.

It would allow for more flexible pipeline chaining just to add new index templates when needed instead of updating the central ingest pipeline every time with new target pipelines. Another use case would be to specify only an additional pipeline for some indices and none for others.

It will be the responsibility of the user to prevent any circular loops, though.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions