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

[7.7] Deep merge event fields and metadata maps (#17958) #18231

Merged
merged 5 commits into from
May 5, 2020

Conversation

ycombinator
Copy link
Contributor

Backports the following commits to 7.7:

* Deep merge event fields and metadata maps

* Add CHANGELOG entry

* Use loop to remove keys; extract into function

* Relocating CHANGELOG entry

* Rewording and moving to bugfix section per review feedback

* Adapting other CHANGELOG entry

* Fix comparison in test
@ycombinator ycombinator added [zube]: In Review backport Team:Services (Deprecated) Label for the former Integrations-Services team labels May 5, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 5, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

@ChrsMark ChrsMark removed the needs_team Indicates that the issue/PR needs a Team:* label label May 5, 2020
@@ -79,6 +79,10 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Do not rotate log files on startup when interval is configured and rotateonstartup is disabled. {pull}17613[17613]
- Fix `setup.dashboards.index` setting not working. {pull}17749[17749]
- Fix Elasticsearch license endpoint URL referenced in error message. {issue}17880[17880] {pull}18030[18030]
- Fix panic when assigning a key to a `nil` value in an event. {pull}18143[18143]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changelog didn't make it :(

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching. Fixed in d4d8191.

While fixing this I noticed that there are duplicate entries for the same PR in the CHANGELOG, even in the original PR to master. So I've cleaned those up in this backport. I'll make a separate PR to master to clean up the CHANGELOG there.

Copy link
Contributor Author

@ycombinator ycombinator May 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR to cleanup CHANGELOG in master: #18233

@@ -192,6 +193,42 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Add `providers` setting to `add_cloud_metadata` processor. {pull}13812[13812]
- Ensure that init containers are no longer tailed after they stop {pull}14394[14394]
- Fingerprint processor adds a new xxhash hashing algorithm {pull}15418[15418]
- Add document_id setting to decode_json_fields processor. {pull}15859[15859]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @ycombinator ! Is all this normal however?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, it's definitely not! 😬 Not sure what happened here, fixing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I think I have this finally in the right state. What you see here should be a backport of https://github.com/elastic/beats/pull/17958/files and https://github.com/elastic/beats/pull/18233/files.

@ycombinator ycombinator merged commit 11bd900 into elastic:7.7 May 5, 2020
@ycombinator ycombinator deleted the backport/7.7/pr-17958 branch May 5, 2020 11:39
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…tic#18231)

* Deep merge event fields and metadata maps (elastic#17958)

* Deep merge event fields and metadata maps

* Add CHANGELOG entry

* Use loop to remove keys; extract into function

* Relocating CHANGELOG entry

* Rewording and moving to bugfix section per review feedback

* Adapting other CHANGELOG entry

* Fix comparison in test

* Fixing up CHANGELOG

* Cleaning up CHANGELOG

* Fixing up CHANGELOG

* Fixing up CHANGELOG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Services (Deprecated) Label for the former Integrations-Services team [zube]: Done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants