ecs-field-mappings
Installation
SKILL.md
ecs-field-mappings
When to use
Use this skill when tasks include:
- adding or modifying files under
data_stream/<stream>/fields/ - populating
ecs.ymlwith ECS field references - selecting
event.kind,event.category,event.type, andevent.outcomevalues - choosing field
typeand mapping properties (metric_type,dimension,multi_fields, and related options) - checking whether a field already exists in ECS before adding custom fields
- troubleshooting mapping validation/build failures from
elastic-package check,elastic-package lint, or pipeline test schema checks
ECS dependency configuration
Every package needs _dev/build/build.yml at the package root. This file pins the ECS schema version used for field resolution.