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

[EPM] Handle duplicate fields in index patterns #56306

Closed
neptunian opened this issue Jan 29, 2020 · 2 comments
Closed

[EPM] Handle duplicate fields in index patterns #56306

neptunian opened this issue Jan 29, 2020 · 2 comments
Assignees
Labels
Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@neptunian
Copy link
Contributor

neptunian commented Jan 29, 2020

Currently, when handling fields during Kibana index pattern creation, the handling of duplicate fields does not perform any logic, except to not add the field if it already exists. In Beats, fields are merged and also support an "overwrite" field property.

Unlike Beats, we will not support the overwrite property.

  • If more than one field exists with the same name and type, we will merge the fields
  • The merge works so that new field properties will be added but they will not overwrite the existing field's property if it already exists
  • if the duplicate fields have different types, ignore this duplicate field, a merge is not possible, and continue.
  • log the issue in kibana [EPM] log duplicate fields in kibana when creating index patterns #60952

See #60633

@neptunian neptunian added [zube]: Ready Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project labels Jan 29, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest (Feature:EPM)

@neptunian neptunian self-assigned this Mar 19, 2020
@neptunian neptunian changed the title [EPM] Support overwrite property and updating/merging of duplicate fields [EPM] Handle duplicate fields in index patterns Mar 19, 2020
@neptunian
Copy link
Contributor Author

resolved in #60957

@jen-huang jen-huang added the Team:Fleet Team label for Observability Data Collection Fleet team label Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

3 participants