Skip to content

Check for duplicates in template generation #17203

@urso

Description

@urso

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions