repeatedly / fluent-plugin-beats

Fluentd plugin for Elastic beats
Apache License 2.0
45 stars 12 forks source link

adding error router to rescue in event processing #16

Open adamenger opened 5 years ago

adamenger commented 5 years ago

Hi,

According to the docs, we should be emitting routing errors via emit_error_event. I've noticed that once FluentD hits an error, it doesn't ship it to the output, and it fails to recover.

However when I modify the plugin to contain this line, it emits the error properly and continues past the error.

Could you please let me know if this is a good or bad idea?

Thank you,