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

Backport #379 to 1.0: Generate full Beats field definitions, including nested fields (#379) #381

Merged
merged 1 commit into from
Mar 11, 2019

Conversation

webmat
Copy link
Contributor

@webmat webmat commented Mar 8, 2019

Backport of PR #379 to 1.0 branch. Original message:

This work has revealed a subtle bug in the generated files schema.csv and both
ES templates, which were missing the group fieldset in all places where user
is reused. (e.g. host.user.group.*)

Upon comparing this new file to the fields definition file we had handcrafted for Beats (prior to this), it also revealed we had missed a few things in the Beats field definitions:

  • We had forgotten to define the reusable user fieldset client, destination, server and source. They previously had been missed.
  • We had forgotten to define the reusable geo fieldset at host.geo.* and observer.geo.*

…ncluding nested fields (elastic#379)

Backport of PR elastic#379 to 1.0 branch. Original message:

This work has revealed a subtle bug in the generated files schema.csv and both
ES templates, which were missing the group fieldset in all places where user
is reused. (e.g. `host.user.group.*`)

Upon comparing this new file to the fields definition file we had handcrafted for Beats (prior to this), it also revealed we had missed a few things in the Beats field definitions:

- We had forgotten to define the reusable `user` fieldset `client`, `destination`, `server` and `source`. They previously had been missed.
- We had forgotten to define the reusable `geo` fieldset at `host.geo.*` and `observer.geo.*`
@webmat webmat self-assigned this Mar 8, 2019
@webmat webmat requested a review from ruflin March 8, 2019 20:25
webmat pushed a commit to webmat/beats that referenced this pull request Mar 8, 2019
No harm was done to the fields between 1.0 and master
@webmat webmat merged commit 39214ed into elastic:1.0 Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant