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 #13226 to 7.3] Add .* to kubernetes labels and annotations in fields.yml mapping #13283

Merged
merged 3 commits into from
Aug 27, 2019
Merged

[Cherry-pick #13226 to 7.3] Add .* to kubernetes labels and annotations in fields.yml mapping #13283

merged 3 commits into from
Aug 27, 2019

Conversation

kaiyan-sheng
Copy link
Contributor

@kaiyan-sheng kaiyan-sheng commented Aug 17, 2019

Cherry-pick of PR #13226 to 7.3 branch. Original message:

This PR is to fix mapping for kubernetes.labels and kubernetes.annotations in fields.yml. The error message is caused by this look like:

{"type":"mapper_parsing_exception","reason":"object mapping for [kubernetes.labels.app] tried to parse field [app] as object, but found a concrete value"}

(cherry picked from commit 2e4d292)

…13226)

* Update labels and annotations object field

(cherry picked from commit 2e4d292)
@kaiyan-sheng kaiyan-sheng requested review from a team as code owners August 17, 2019 16:52
@kaiyan-sheng kaiyan-sheng changed the title Add .* to kubernetes labels and annotations in fields.yml mapping … [Cherry-pick to 7.3] Add .* to kubernetes labels and annotations in fields.yml mapping(#13226) Aug 17, 2019
@kaiyan-sheng kaiyan-sheng changed the title [Cherry-pick to 7.3] Add .* to kubernetes labels and annotations in fields.yml mapping(#13226) [Cherry-pick #13226 to 7.3] Add .* to kubernetes labels and annotations in fields.yml mapping Aug 17, 2019
@kaiyan-sheng kaiyan-sheng self-assigned this Aug 17, 2019
@kaiyan-sheng kaiyan-sheng added Team:Integrations Label for the Integrations team backport labels Aug 18, 2019
@urso urso removed the request for review from a team August 20, 2019 10:57
@kaiyan-sheng kaiyan-sheng merged commit 3090791 into elastic:7.3 Aug 27, 2019
@kaiyan-sheng kaiyan-sheng deleted the backport_13226_7.3 branch August 27, 2019 17:25
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…annotations in fields.yml mapping (elastic#13283)

* Add `.*` to kubernetes labels and annotations in fields.yml mapping  (elastic#13226)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport review Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants