Related to #2584 the official ecs mappings are still hard mappings while Elasticsearch ships with ecs@mapping which is primarily conventions based mapping for ECS.
See: https://github.com/elastic/elasticsearch/blob/3011ff68ffe3e57111a3bb01492c956567ab7c8b/x-pack/plugin/core/template-resources/src/main/resources/ecs%40mappings.json#L4
and
https://www.elastic.co/observability-labs/blog/future-proof-your-logs-with-ecs-mappings-template
Questions:
- Does this repo validate the
ecs@mapping?
- this doesn't get updated with every release.
- Should this repo start generating an ecs@mapping ?
- If not should it generate a more explicit alternative (that does enforce types for instance?).
Do beats, agent, integrations now rely on ecs@mappings or are they using the component templates this repo generates?
The component templates now sit at 2200+ fields which is tad much for each backing index in a datastream when most usecases do not use all fields.
Tagging a few folks who I know might have some thoughts:
@eyalkoren @felixbarny @gregkalapos @P1llus @trisch-me @andrewkroh @mjwolf
Feel free to ignore my @mention or forward to someone else who may have the answer(s)? π
Related to #2584 the official ecs mappings are still hard mappings while Elasticsearch ships with
ecs@mappingwhich is primarily conventions based mapping for ECS.See: https://github.com/elastic/elasticsearch/blob/3011ff68ffe3e57111a3bb01492c956567ab7c8b/x-pack/plugin/core/template-resources/src/main/resources/ecs%40mappings.json#L4
and
https://www.elastic.co/observability-labs/blog/future-proof-your-logs-with-ecs-mappings-template
Questions:
ecs@mapping?Do beats, agent, integrations now rely on
ecs@mappingsor are they using the component templates this repo generates?The component templates now sit at 2200+ fields which is tad much for each backing index in a datastream when most usecases do not use all fields.
Tagging a few folks who I know might have some thoughts:
@eyalkoren @felixbarny @gregkalapos @P1llus @trisch-me @andrewkroh @mjwolf
Feel free to ignore my
@mentionor forward to someone else who may have the answer(s)? π