Skip to content

Moving Away from Shared Component Templates Already? #91370

Open
@MakoWish

Description

@MakoWish

I thought the idea of Component Templates was fantastic. Managing dozens (or hundreds) of desparate _template's in the past was a royal pain. If there was a change to, let's say, the host fields, I would have to go through and modify every single _template that used the host fields. The creation of _index_template's being composed of _component_template really simplified that. All I would have to do is update the host component template, and all Index Templates using it would also be updated automatically.

I am now trying in our DEV environment to migrate away from indices to start using Elastic Agent and Data Streams, but Elastic has once again gone back to defining fields distinctly in every single Index Template. For instance, if you look at the Index Template logs-system.security, instead of being composed of host, process, source, destination, etc. Component Templates, it is composed of logs-system.security@package and logs-system.security@custom, where each one of those explicitly define all the components. This is completely counter-intuitive to the idea of using Component Templates to begin with.

Why was this decision made, and can we make a hard push to get back to the original idea behind Component Templates? We use several custom fields throughout many data sources, like host.bios.*, user.target.*, and many others, and this sudden move away from the new Component Templates is going to make my life a nightmare.

Eric

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