-
Notifications
You must be signed in to change notification settings - Fork 26
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
Sanitize OTEL datastream #369
Conversation
Replacing is fine, to make it consistent with ES reroute processor implementation: https://github.com/elastic/elasticsearch/blob/33d63fa9c2fc3afb9184f31e2681942cfd8dc7fd/modules/ingest-common/src/main/java/org/elasticsearch/ingest/common/RerouteProcessor.java#L203-L206 |
a6450a9
to
f40b9b1
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.
After discussing with @felixbarny , we agreed that it will be easier to push for a change to loosen up the ecs spec such that namespace can contain -
, which is how es reroute processor is implemented, rather than to push a breaking change in es. Therefore, can you change the implementation in this PR to allow -
in namespace?
Just to make sure, the |
Correct. Otherwise parsing dataset and namespace would be ambiguous |
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 for bearing with me!
Fixes elastic/apm-server#14043
@carsonip I am not exactly sure I should remove disallowed runes, or replace them with
_
.