[Logs+] Add default ECS mappings to logs-*-*
#95538
Labels
:Data Management/Data streams
Data streams and their lifecycles
Team:Data Management
Meta label for data/management team
This is required in order to be able to route sink-type integrations to
logs-<service.name>-<namespace>
, as this will match thelogs-*-*
index template instead of the one from the integration.We should be able to re-use this mapping: https://github.com/elastic/elastic-package/blob/main/internal/builder/_static/ecs_mappings.yaml and convert it to a component template that is imported by the
logs-*-*
index template. With #95558, we can simplify the dynamic template.An open question is how to keep the upstream ECS mappings, the elastic-package ECS mappings and the ECS mappings in Elasticsearch in sync.
Considerations
nested
field type from the component templates so that they'll work withsubobjects: false
?keyword
forstring
fieldsname
,message
,*_ip
,ip
, etc.Related:
The text was updated successfully, but these errors were encountered: