Skip to content
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

Cherry-pick #8397 to 6.x: Collect custom fields in custom beats #8426

Merged
merged 2 commits into from
Oct 16, 2018

Conversation

jsoriano
Copy link
Member

Cherry-pick of PR #8397 to 6.x branch. Original message:

Include _meta/fields.yml in the list of common fields, so fields defined in custom beats are used.

Current fields generator is checking for fields in _meta/fields.common.yml, but not on _meta/fields.yml, where custom beats have their fields by default.

Alternativelly we could move generator/beat/{beat}/_meta/fields.yml to generator/beat/{beat}/_meta/fields.common.yml, but in any case this change could be good for existing beats that have their fields in _meta/fields.yml.

There are users reporting problems with fields in custom beats that could be caused by this:

@jsoriano jsoriano merged commit c7935f7 into elastic:6.x Oct 16, 2018
@jsoriano jsoriano deleted the backport_8397_6.x branch October 16, 2018 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants