fluent-plugin-suppress icon indicating copy to clipboard operation
fluent-plugin-suppress copied to clipboard

Two duplicate records are found even after suppression-Intermittent issue

Open rayalaka opened this issue 5 years ago • 1 comments

Sometimes, When similar multiple records are pushed to fluentd(assume 1000 records in a loop), two duplicate records are still visible in the fluentd logs instead of 1. Please note that there is no timestamp difference identified between these two records.

Is this a race condition? filter_suppress.rb does not have a def multi_workers_ready setting to true. But, the same is present in out_suppress.rb. Do we need to add a method multi_workers_ready in out_suppress.rb as well? If this not a race condition then let me know if I am missing something. The filter conf is as below:

<filter **>
 @type suppress
 interval 300
 num 1
 attr_keys hostname,message
</filter>

Please help me to get this resolved.

rayalaka avatar May 28 '20 20:05 rayalaka

I have the same issue, any updates on this issue or suggestions?

HelenBaoFinnAI avatar Sep 25 '24 23:09 HelenBaoFinnAI