-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Update .fleet-agents mappings for integration health status #89574
Comments
The actual .fleet-agents document example:
|
@kevinlog @joshdover With two levels of nested mapping, the one document above becomes 10 documents at Lucene level as far as I understand. |
I think we could probably get away with only mapping the fields that are being used to search / filter on today (none?), plus some obvious ones that may be useful for support situations and update the mappings later when additional functionality is added. Typically adding mappings would require a reindex for them to be applied, but since these documents are updated constantly, I don't anticipate that being an issue. It'd be good to validate that that assumption first though. |
cc @joeypoon - which fields would we need to search on to display input statuses? |
For our initial use case, I believe we just plan to update the /agent/{agentId} API to include the new |
cool, then it makes sense to disable any mapping on the components for now, to avoid "auto-mapping/type-guess" and will add the mapping for the new top level field
|
@joshdover Is this issue done? I am wondering why it is still open. |
Yeah, this is done and merged. Closing. |
Related to elastic/elastic-agent#100 we need to update https://github.com/elastic/elasticsearch/blob/main/x-pack/plugin/core/src/main/resources/fleet-agents.json to add mappings for the new fields.
Here is a sample of the new fields added:
The text was updated successfully, but these errors were encountered: