-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Allow alias fields to target unavailable fields #104744
Copy link
Copy link
Open
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field types:StorageEngine/LogsYou know, for LogsYou know, for Logs>enhancementTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in ElasticsearchTeam:StorageEngine
Metadata
Metadata
Assignees
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field types:StorageEngine/LogsYou know, for LogsYou know, for Logs>enhancementTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in ElasticsearchTeam:StorageEngine
Type
Fields
Give feedbackNo fields configured for issues without a type.
To ease the transition between ECS and OpenTelemetry semantic convention (SemConv) mappings, we're planning to store the two different types of data in different data streams. With the help of alias fields, we'd like to make it possible to re-use existing queries that target ECS fields on OTel data streams. Similarly, we want to add SemConv aliases to ECS-based data streams so the queries in our own UIs and in custom dashboards can target SemConv data while still making it possible to incorporate data from ECS-based data streams.
More on how we'd like to map OTel data in this PR: #104455.
One of the challenges is this requirement of alias fields:
We'd like to move away from explicitly defining fields in the mapping and instead rely on dynamic templates (such as
ecs@mappings, so that the mappings only contain fields that are actually used.However, this is incompatible with the requirement that the target for alias fields must already exist.
cc @dakrone