Skip to content

Import ECS dynamic templates into transform destinations #1641

@chrisberkhout

Description

@chrisberkhout

In an integration set (in _dev/build/build.yml) to import ECS mappings, the build process will inject ECS's dynamic templates at elasticsearch.index_template.mappings.dynamic_templates in data_stream/<ds_name>/manifest.yml.

However, for transforms, it does not put them into destination_index_template.mappings.dynamic_templates in elasticsearch/transform/<transform_name>/manifest.yml.

The relevant code is here.

This came up while building an IOC expiry transform for OpenCTI. The workaround was to add an explicit external field reference for each ECS field used.

2025-06-11: We do still want the functionality described above. (A different thing done on 2025-06-17: adding the ecs@mappings component template in the index template created during package install by fleet for a transform destination index.)

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