[new_relic sink] unexpected backslash inserted before dot for attribute keys #15260
Labels
provider: new relic
Anything `new relic` service provider related
sink: new_relic
Anything `new_relic` sink related
type: bug
A code related bug.
A note for the community
Problem
I used Vector.dev to forward my logs to NewRelic with newrelic sink, it worked well with the basic features, but not good if there are dots in attribute keys, for example, NewRelic log content have some specified attributes which keys are like
entity.guid
,entity.name
,entity.type
,trace.id
,span.id
and also my customized attribute key with same pattern (for example, givendotnet.nrerelic.logs.osversion
), all those key was changed with a backslash before dot, for examplethose messages would break the linking from logs to APM transactions
Here is a snapshot of newrelic logs query page
and the console output like below (use console sink)
Configuration
Version
vector 0.25.0 (x86_64-unknown-linux-gnu b573b51 2022-11-01)
Debug Output
No response
Example Data
Additional Context
No response
References
No response
The text was updated successfully, but these errors were encountered: