Skip to content

Conversation

@jsoriano
Copy link
Member

Cherry-pick of PR #10898 to 7.0 branch. Original message:

This PR includes #10862 and #10758

As a summary:

  • Autodiscover selectors using ECS structure are added to autodiscover events, old selectors are kept for backwards compatibility
  • Autodiscover generated metadata follows ECS
  • Dedotting of labels is added, enabled by default, will be backported for 6.7, but disabled

docker.containers.labels is not migrated, as it wasn't for add_docker_metadata (see #9412 (comment))

Fixes #10757

Co-Authored-By: kaiyan-sheng [email protected]
Co-Authored-By: Nicolas Ruflin [email protected]

Fields injected by docker autodiscover provider were being placed
in alias fields introduced for ECS, change them to the new location
and add selectors accordingly. 

This PR includes elastic#10862 and elastic#10758

As a summary:
    * Autodiscover selectors using ECS structure are added to
      autodiscover events, old selectors are kept for backwards compatibility
    * Autodiscover generated metadata follows ECS
    * Dedotting of labels is added, enabled by default, will be backported for 6.7,
      but disabled

`docker.containers.labels` is not migrated, as it wasn't for `add_docker_metadata`
(see elastic#9412)

Fixes elastic#10757

Co-Authored-By: kaiyan-sheng <[email protected]>
Co-Authored-By: Nicolas Ruflin <[email protected]>
(cherry picked from commit 1bf8087)
@jsoriano
Copy link
Member Author

jenkins, test this again please

@jsoriano jsoriano requested review from a team and removed request for a team February 25, 2019 19:57
@jsoriano jsoriano merged commit bace6fa into elastic:7.0 Feb 27, 2019
@jsoriano jsoriano deleted the backport_10898_7.0 branch February 27, 2019 18:21
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