-
Notifications
You must be signed in to change notification settings - Fork 4.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
Some fields have invalid dynamic mapping definitions #32577
Comments
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
Pinging @elastic/obs-cloud-monitoring and @elastic/obs-cloudnative-monitoring as the fields are in their integrations. |
@jsoriano Thanks for catching this. Will the change on field type here consider a breaking change? |
Well, currently there is no valid mapping for these fields, so this could be seen as adding fields, more than changing their types. For example, with the current kubernetes mapping, there is only a mapping for literal The change might be breaking for the literal |
Hi! We're labeling this issue as |
These fields should be handled by elastic/kibana#137978, closing this. |
While investigating elastic/kibana#129344 (comment), I found some field definitions for dynamic mappings that seem invalid.
The fields are these ones:
kubernetes.scheduler.pod.preemption.victims.bucket.*
azure.auditlogs.target_resources.*
azure.auditlogs.target_resources.*.modified_properties.*
They have wildcards, but they don't have
type: object
, so no dynamic mapping is being installed for them. They are being installed as plain fields with the wildcard as literal part of their names.For example, the definition for
azure.auditlogs.target_resources.*.modified_properties.*
is not generating any dynamic mapping, and is generating this:Some possible action points to solve this would be:
type: object
andobject_type
, so dynamic mappings are generated for them.*
) whentype: object
is not set.We are discussing about what to do on these cases in Fleet in elastic/kibana#129344 (comment), some ideas may also apply here.
The text was updated successfully, but these errors were encountered: