-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Records passed to @ERROR label do not contain modifications made in the pipeline/config #3465
Comments
Hmm, it's not hard to fix but I'm not sure it should be treated as a bug or a specification. fluentd/lib/fluent/event_router.rb Lines 114 to 121 in 28eda36
fluentd/lib/fluent/event_router.rb Lines 179 to 182 in 28eda36
fluentd/lib/fluent/root_agent.rb Lines 356 to 370 in 28eda36
|
This issue has been automatically marked as stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days |
…r` label Fix fluent#3465 When an error occurs in the output process in a pipeline, the modifications made by the filter process are applied to the records that is passsed to `@Error` label. Signed-off-by: daipom <[email protected]>
Describe the bug
In a pipeline where the log records are mutated, when errors occur the log records passed to the @error label do not contain modifications made further up in the pipeline before the error ocurred.
To Reproduce
Steps
echo '{"foo":"bar"}' | fluent-cat test.log
Results
output file contains
2021-07-22T18:03:32+00:00 test.log {"foo":"bar"}
Config*
Provided below
Expected behavior
Ouput should contain modified record, not original
Your Environment
Your Configuration
Your Error Log
Additional context
No response
The text was updated successfully, but these errors were encountered: