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

[Elastic Agent] Track TSDB enablement #6938

Open
3 of 5 tasks
constanca-m opened this issue Jul 12, 2023 · 0 comments
Open
3 of 5 tasks

[Elastic Agent] Track TSDB enablement #6938

constanca-m opened this issue Jul 12, 2023 · 0 comments
Assignees

Comments

@constanca-m
Copy link
Contributor

constanca-m commented Jul 12, 2023

Data streams

All metrics data streams were migrated, except for Endpoint security metrics since the data stream is not working currently (see elastic/elastic-agent#1944).

  • Add dimensions: [Elastic Agent] Set dimension fields for metrics data streams #6939

  • Set metric type: [Elastic Agent] Set metric type #7033

  • Enable TSDB by default: [Elastic Agent] Enable TSDB by default #7214:

    • Endpoint security metrics is not migrated since it receives no data.
    • Filebeat input metrics: the migration is failing with
    Error: error running package asset tests: could not complete test run: can't install the package: can't install the package: could not install package; API status code = 500; response body = {"statusCode":500,"error":"Internal Server Error","message":"invalid_index_template_exception\n\tRoot causes:\n\t\tinvalid_index_template_exception: index_template [metrics-elastic_agent.filebeat_input] invalid, cause [Validation Failed: 1: [index.mode=time_series] requires a non-empty [index.routing_path];]"}
    

    However, agent.id is set as dimension and it is always present for all documents. I cannot find the reason for why this is happening, so I am removing this data stream migration from this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant