-
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
Generated templates don't include fields when parent defined in 2 locations #5075
Labels
Comments
exekias
added a commit
to exekias/beats
that referenced
this issue
Sep 1, 2017
…urces We define fields with the same root key across several files, this change ensures all of them are combined in the final index template. Fixes elastic#5075
exekias
added a commit
to exekias/beats
that referenced
this issue
Sep 1, 2017
…urces We define fields with the same root key across several files, this change ensures all of them are combined in the final index template. Fixes elastic#5075
exekias
added a commit
to exekias/beats
that referenced
this issue
Sep 1, 2017
…urces (elastic#5077) We define fields with the same root key across several files, this change ensures all of them are combined in the final index template. Fixes elastic#5075 (cherry picked from commit a96b02a)
andrewkroh
pushed a commit
that referenced
this issue
Sep 1, 2017
leweafan
pushed a commit
to leweafan/beats
that referenced
this issue
Apr 28, 2023
…urces (elastic#5077) (elastic#5079) We define fields with the same root key across several files, this change ensures all of them are combined in the final index template. Fixes elastic#5075 (cherry picked from commit caaa4ca)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some processors share fields with metricbeat modules (docker & kubernetes), so they define some fields like this:
https://github.com/elastic/beats/blob/master/libbeat/processors/add_docker_metadata/_meta/fields.yml
While the rest of fields for the module are in other fields.yml file:
https://github.com/elastic/beats/blob/master/metricbeat/module/docker/container/_meta/fields.yml
As they share the same root key, the first one in the resulting fields.yml is overridden by the second one. In practice, this means that fields from docker & kubernetes processors are missing from the final template
The text was updated successfully, but these errors were encountered: