-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[exporter/elasticsearch] When using mapping.mode: ecs
, drop scalar fields in case of object/scalar conflicts
#32745
Comments
cc: @axw |
Pinging code owners for exporter/elasticsearch: @JaredTan95 @ycombinator @carsonip. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This was filed by a code owner, so I'm removing |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This is still relevant. I think it's only relevant with the config |
It's only relevant in the case of The existing behaviour is that I'm not a fan of this magical ".value" addition, but inclined to leave it alone for now. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
exporter/elasticsearch
Is your feature request related to a problem? Please describe.
When
mapping.mode: ecs
is used, certain OTel + SemConv fields are converted to ECS fields to ensure that dashboards and other assets currently using ECS fields continue to work. Due to this conversion, it's possible to run into object/scalar conflicts in the source field set, for example,{"foo": 1, "foo.bar": 2}
.Describe the solution you'd like
In such cases, we should drop the scalar value. For example,
{"foo": 1, "foo.bar": 2}
should be converted to{"foo": { "bar": 2}}
.Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: