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.4: Collect custom fields in custom beats #8427

Merged
merged 1 commit into from
Sep 25, 2018

Conversation

jsoriano
Copy link
Member

Cherry-pick of PR #8397 to 6.4 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
Copy link
Member Author

It includes #7777 as it depends on it, so they get tested in parallel, to be merged after the other one.

@jsoriano jsoriano merged commit 66939ff into elastic:6.4 Sep 25, 2018
@jsoriano jsoriano deleted the backport_8397_6.4 branch September 25, 2018 13:30
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
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