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 #13433 to 7.2: Fix conversions of events with module fields #13442

Merged
merged 3 commits into from
Sep 3, 2019

Conversation

jsoriano
Copy link
Member

Cherry-pick of PR #13433 to 7.2 branch. Original message:

Metricsets that use special fields like ModuleDataKey cannot be
directly used as metricset fields of mb.Event, they need to be
converted using something like the mb.TransformMapStrToEvent()
helper.

Fix #13432

Metricsets that use special fields like `ModuleDataKey` cannot be
directly used as metricset fields of `mb.Event`, they need to be
converted using something like the `mb.TransformMapStrToEvent()`
helper.

Fix elastic#13432

(cherry picked from commit 310a96e)
@jsoriano jsoriano requested a review from a team as a code owner August 30, 2019 13:26
@jsoriano jsoriano force-pushed the backport_13433_7.2 branch from f4d4237 to 95c05b2 Compare August 30, 2019 13:34
Copy link
Contributor

@kaiyan-sheng kaiyan-sheng left a comment

Choose a reason for hiding this comment

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

LG, besides the conflict 😬

@jsoriano jsoriano merged commit 45018e4 into elastic:7.2 Sep 3, 2019
@jsoriano jsoriano deleted the backport_13433_7.2 branch September 3, 2019 15:55
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…le fields (elastic#13442)

Metricsets that use special fields like `ModuleDataKey` cannot be
directly used as metricset fields of `mb.Event`, they need to be
converted using something like the `mb.TransformMapStrToEvent()`
helper.

Fix elastic#13432

(cherry picked from commit 71fb53e)
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