Closed
Description
Overview
With ECS aligning versioning with the Elastic stack releases starting in 8.0, the ECS tooling could be simplified to generate a single set of Elasticsearch index template artifacts. This single generated version would align with the stack release of the same version.
For example, ECS 8.0 produces sample Elasticsearch index mappings that are compatible with Elastic Stack 8.0.
Advantages
- Simplify the ECS tooling. No additional code to generate multiple versions of the index templates to support multiple versions of ES or multiple versions of the ES index template APIs.
- Reduce the copies of index templates in the repo; simplified user experience.
- Prevent users from trying to use the curated artifacts with the wrong APIs: example
- The sample templates are maintained as examples. They should be used as a starting point for experimentation. Users are still free to generate their own variations of index templates but shouldn't rely on ECS maintaining multiple copies.
Concerns
- Should the tooling allow users to maintain their own legacy index template artifacts (e.g. for users who maintain customer mappings)?
- The
logstash-output-elasticsearch
plugin depends on the ECS projects generated, legacy index template artifacts as part of their build for ECS compatibility mode. We will need to remove this dependency before we can remove the generated, legacy templates from ECS.