[checkpoint] Ensure event.original is always set to message - #10645
Conversation
- Situations may arise where event.original is set to non-standard or incorrect value by some external source, such as Logstash. Since the value we need is the contents of the message field, the value of event.original will be set to the value of message in all cases. - Add remove processor to remove message field to mimic behavior of rename processor.
🚀 Benchmarks reportTo see the full report comment with |
|
💚 Build Succeeded
|
|
Pinging @elastic/sec-deployment-and-devices (Team:Security-Deployment and Devices) |
pkoutsovasilis
left a comment
There was a problem hiding this comment.
it makes sense me to always set correctly the event.original from the original message and not only when this is not present thus LGTM
There's also this weird behavior where |
|
Package checkpoint - 1.31.1 containing this change is available at https://epr.elastic.co/search?package=checkpoint |
…10645) - Situations may arise where event.original is set to non-standard or incorrect value by some external source, such as Logstash. Since the value we need is the contents of the message field, the value of event.original will be set to the value of message in all cases. - Add remove processor to remove message field to mimic behavior of rename processor.
…10645) - Situations may arise where event.original is set to non-standard or incorrect value by some external source, such as Logstash. Since the value we need is the contents of the message field, the value of event.original will be set to the value of message in all cases. - Add remove processor to remove message field to mimic behavior of rename processor.




Proposed commit message
Checklist
changelog.ymlfile.How to test this PR locally
Related issues