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

[Elasticsearch][CCR] Change type nested to object #6604

Open
constanca-m opened this issue Jun 19, 2023 · 1 comment
Open

[Elasticsearch][CCR] Change type nested to object #6604

constanca-m opened this issue Jun 19, 2023 · 1 comment
Labels
Feature:Stack Monitoring Stack Monitoring Feature Integration:elasticsearch Elasticsearch Team:Stack Monitoring Stack Monitoring team [elastic/stack-monitoring]

Comments

@constanca-m
Copy link
Contributor

constanca-m commented Jun 19, 2023

Summary

Currently there is a field of type nested in ccr metrics documents:

    - name: read_exceptions
      type: nested

However, the presence of this type blocks the migration to TSDB #5233:

cannot have nested fields when index is in [index.mode=time_series]

The read_exceptions property is used in this query and we should be able to change type nested into object without losing filtering capability.

AC

  • read_exceptions is mapped as object
  • ccr alert query filters both nested and object type of properties
  • ccr alert query fires when expected with the new mapping type
@constanca-m constanca-m added Integration:elasticsearch Elasticsearch Team:Infra Monitoring UI - DEPRECATED Label for the Infrastructure Monitoring UI team. - DEPRECATED - Use Team:obs-ux-infra_services labels Jun 19, 2023
@lalit-satapathy
Copy link
Collaborator

@martijnvg,

Can you comment on the above error from elasticsearch?

@smith smith added Feature:Stack Monitoring Stack Monitoring Feature Team:Stack Monitoring Stack Monitoring team [elastic/stack-monitoring] and removed Team:Infra Monitoring UI - DEPRECATED Label for the Infrastructure Monitoring UI team. - DEPRECATED - Use Team:obs-ux-infra_services labels Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Stack Monitoring Stack Monitoring Feature Integration:elasticsearch Elasticsearch Team:Stack Monitoring Stack Monitoring team [elastic/stack-monitoring]
Projects
None yet
Development

No branches or pull requests

3 participants