Having multiple dynamic_templates with the same field name in templates can lead to bugs. For example: elastic/apm-server#2693, elastic/apm-server#2693 (comment)
The Elasticsearch team is discussing to disallow multiple dynamic templates: elastic/elasticsearch#53326
Beats template generator should check for duplicates and fail (or at least warn) if we detect duplicates.
Having multiple
dynamic_templates with the same field name in templates can lead to bugs. For example: elastic/apm-server#2693, elastic/apm-server#2693 (comment)The Elasticsearch team is discussing to disallow multiple dynamic templates: elastic/elasticsearch#53326
Beats template generator should check for duplicates and fail (or at least warn) if we detect duplicates.