-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow/merge fields.yml overrides #9188
Conversation
c5223d9
to
4abfab1
Compare
4abfab1
to
cbceb4b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we introduce perhaps a convention that fields which are defined as duplicates actually must have a flag like overwrite: true
or something like this. Otherwise we can't tell the difference between accidential duplicates and duplicates which are there on purpose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few question.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM. There seems to be one left over file.
Could you also add a note to the Developer changelog?
Thanks for the reviews. All feedback has been addressed and a merge with master + |
Merging without waiting on Darwin to avoid being beaten by a merge conflict yet again. Rest of the Jenkins run is green. |
With the introduction of fields.ecs.yml fields that were application specific are now defined generically by libbeat.
This change introduces the ability to customize certain attributes of fields by those downstream. For example, APM sets the
count
attribute (kibana "popularity") onerror.id
and is unable to integratefields.ecs.yml
and retain that without a change like this.Care was taken to forbid field type changes. That is a field can't be defined as a
keyword
in one place and overridden tolong
in another.Reviewers: Please consider whether all affected
fields.yml
consumers are handled by these changes.