[Telemetry] Data: Report dataset info only if there is known metadata#71419
[Telemetry] Data: Report dataset info only if there is known metadata#71419afharo merged 5 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/kibana-telemetry (Team:KibanaTelemetry) |
|
@afharo it's FF today. Please merge if possible, otherwise we'll have to bump to 7.10. |
|
Update: This PR is currently blocked until elastic/elasticsearch#59195 is done. There is no point on checking the metadata to retrieve the |
|
Replanning for |
|
@elasticmachine merge upstream |
|
@TinaHeiligers and @Bamieh! After testing the new Ingest Manager, I noticed we had to add an exception for the way the data-streams actually work and seen by Kibana:
Funny enough: the data-stream works as an alias, so you can get the index That's why in my last commit I had to change it to I'll wait for you to confirm if you are happy with these latest additions :) |
|
@elasticmachine merge upstream |
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
…tadata (#71419) (#74126) * [Telemetry] Data: Report dataset information only if there is known metadata * Handle data-stream indices (.ds-*) Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
|
Pinging @elastic/kibana-core (Team:Core) |
Summary
On top of #64935, this PR adds the collection of the
constant_keywordsdataset.nameanddataset.typeonly if Elastic-known meta fields are found in the index's mappings.We'll collect the information about the
datasetfields mentioned above only if_meta.beat(reported asshipper) exists, or the index is maintained by the new Ingest Manager (it should contain_meta.managed_by === 'ingest-manager' and/or the_meta.package.name` field).Checklist
Delete any items that are not applicable to this PR.
For maintainers