-
Notifications
You must be signed in to change notification settings - Fork 79
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
parse_cef() bug #781
Comments
Hi @manickamk, The parser assumes there's no Are you interested in contributing a PR for this? |
Thanks for your reply, Yes, I am interested and could you please let me know how to do |
Thank you @manickamk.
I would start by adding a test case in this file with the message you shared here. Then you can see if it is possible to relax the parser parts that parse the key/values while ensuring other tests also pass. |
Thank you @pront , I will do, please let me know further steps. Thanks |
Hi @manickamk, this would require a PR to the VRL repo. |
Hi @pront , |
Hi @manickamk , The original request here was if you wanted to contribute the change :) If you do, then the pointers that @pront gave above should be sufficient. If not, no worries, it can wait for someone else to pick it up. |
Hi @jszwedko , Yes, I would like to contribute. Could you please provide me with references for setting up a test environment for testing purposes and guidance on how to do it? Thank you. |
Hi @manickamk ! Great, please see https://github.com/vectordotdev/vrl/blob/main/CONTRIBUTING.md. For general Rust setup, you can see https://www.rust-lang.org/learn/get-started |
Hello team,
We have identified the bug on parse_cef() function below is the sample log if we remove the space the function is working properly

Please look the below url VRL playground
https://playground.vrl.dev/?state=eyJwcm9ncmFtIjoiLiA9IHBhcnNlX2NlZiEoLm1lc3NhZ2UpIiwiZXZlbnQiOnsibWVzc2FnZSI6IkNFRjowfEluY2Fwc3VsYXxTSUVNaW50ZWdyYXRpb258MXwxfElsbGVnYWwgUmVzb3VyY2UgQWNjZXNzfDN8IGZpbGVJZD0xODQwMDAwMTAwMDQzNzMxNjMgc291cmNlU2VydmljZU5hbWU9YXNzZXRzLnNiLmRhbnNrZXNwaWwuZGsgc2l0ZWlkPTc1MzQ0OTYgc3VpZD0yMDY2NjEyIHJlcXVlc3RDbGllbnRBcHBsaWNhdGlvbj1Nb3ppbGxhLzUuMCAoV2luZG93cyBOVCAxMC4wOyBXaW42NDsgeDY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1ML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