-
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
Fix renaming cloud metadata processor fields #13808
Fix renaming cloud metadata processor fields #13808
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
1 similar comment
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
17d6735
to
985d1c2
Compare
985d1c2
to
df5329d
Compare
Any chance of this getting reviewed soon? |
Sorry for the delay. This looks good to me (besides the conflict). @adriansr Could you take a look as well please? |
Clone the underlying metadata to allow renaming sub-fields under cloud that are injected by the cloud metadata processor.
df5329d
to
10a8f25
Compare
Rebased to fix the conflict. |
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
I suggest someone from Beats core also have a look
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. This probably also prevents a concurrent map modification panic.
jenkins, test this |
jenkins, test this please |
…ds (#16770) * Fix renaming cloud metadata processor fields (#13808) Clone the underlying metadata to allow renaming sub-fields under cloud that are injected by the cloud metadata processor. (cherry picked from commit 6785901) Co-authored-by: Jameel Al-Aziz <247849+jalaziz@users.noreply.github.com>
Clone the underlying metadata to allow renaming sub-fields under cloud that are injected by the cloud metadata processor. (cherry picked from commit 6785901)
Clone the underlying metadata to allow renaming sub-fields under cloud that are injected by the cloud metadata processor. (cherry picked from commit 6785901)
Yep, #17968 seems to be fixed by this. I have opened backports for 7.6 and 6.8 too. |
Clone the underlying metadata to allow renaming sub-fields under cloud that are injected by the cloud metadata processor. (cherry picked from commit 6785901) Co-authored-by: Jameel Al-Aziz <247849+jalaziz@users.noreply.github.com>
Clone the underlying metadata to allow renaming sub-fields under cloud that are injected by the cloud metadata processor. (cherry picked from commit 6785901) Co-authored-by: Jameel Al-Aziz <247849+jalaziz@users.noreply.github.com>
Clone the underlying metadata to allow renaming sub-fields under cloud
that are injected by the cloud metadata processor.
Without cloning the injected metadata,
rename
and possibly other processors fail to operate on the sub-fields of the injectedcloud
field.Further details can be found in the community post: https://discuss.elastic.co/t/cannot-rename-sub-fields-of-cloud-metadata-added-via-add-cloud-metadata/201157.