[Enhancement] ECS Generator - Ability to Selectively Extend Reusable Mappings
See original GitHub issueSummary
I would like to be able to have a way with the ECS generator.py
to be able to “selectively” extend reusable mappings.
Motivation:
I recently encountered an issue where I add my own schema, and have it be reusable for user
:
reusable:
order: 1
top_level: true
expected:
- user
While I intend for these mappings to be added to the user
field under the generated schemas client
, destination
, server
, source
, and user
. They also get added to process
and this is where the issue arises and where my enhancement comes in. The process
schema reuses user
33 times, most of these don’t have any need for my additional mappings that I’m adding, and I’d like to exclude my mappings from the process
generation, as the additional mappings put the generated process
over 1000 fields.
I looked through the docs and wasn’t able to find a way to do this today, so opening this enhancement request.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
Thanks, will open a new enhancement request for it, as I think component templates are hard capped at 1000 fields, and I think it would be useful to catch issue at the generation side, not the ES upload side.
I don’t think we currently have any functionality to force a failure like that.
Correct, strict is defined here, and the number of fields isn’t something it looks at today.