-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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] Add mapping mode bodymap #35637
[exporter/elasticsearch] Add mapping mode bodymap #35637
Conversation
aedaddd
to
cb15832
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
first pass: looks good at a high level. Apparently it will still go through data stream routing without changing the body, which will risk actual index name and data_stream.* fields mismatch.
Co-authored-by: Carson Ip <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, lgtm except the handling when body is not a map.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks!
@andrzej-stencel Would be good to get your review on this. Thanks! |
#### Description This PR implements a new mapping mode `bodymap` that works by serializing each LogRecord body as-is into a separate document for ingestion. Fixes open-telemetry#35444 #### Testing #### Documentation --------- Co-authored-by: Carson Ip <[email protected]>
Description
This PR implements a new mapping mode
bodymap
that works by serializing each LogRecord body as-is into a separate document for ingestion.Fixes #35444
Testing
Documentation