-
Notifications
You must be signed in to change notification settings - Fork 431
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
Beats: fix default_field setting for root fields #1711
Conversation
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.
The generator was adding the default_field setting to non-root fieldsets, causing top-level fields (like message) to be excluded from the default_field index template configuration.
With these changes, top-level fields, like message
, will now have default_field: true
explicitly defined if that top-level field is in the allow list?
Yes, exactly. |
The generator was adding the default_field=true setting for non-root fieldsets, so top-level fields like `message` were missing the flag and thus not being added to the default_field index template configuration.
1d97d31
to
11bfc2b
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.
LGTM
The generator was adding the default_field=true setting for non-root fieldsets, so top-level fields like `message` were missing the flag and thus not being added to the default_field index template configuration.
The generator was adding the default_field=true setting for non-root fieldsets, so top-level fields like `message` were missing the flag and thus not being added to the default_field index template configuration.
* Beats: fix default_field setting for root fields (#1711) The generator was adding the default_field=true setting for non-root fieldsets, so top-level fields like `message` were missing the flag and thus not being added to the default_field index template configuration. * move changelog entry into 8.0 section Co-authored-by: Adrian Serrano <[email protected]>
* Beats: fix default_field setting for root fields (#1711) The generator was adding the default_field=true setting for non-root fieldsets, so top-level fields like `message` were missing the flag and thus not being added to the default_field index template configuration. * move changelog entry into 8.0 section Co-authored-by: Adrian Serrano <[email protected]>
The generator was adding the
default_field
setting to non-root fieldsets, causing top-level fields (likemessage
) to be excluded from thedefault_field
index template configuration.Relates elastic/beats#29633