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

Plugin::ConcatFilter::TimeoutError: Timeout flush

Open Tri0L opened this issue 6 years ago • 7 comments

I've got Plugin::ConcatFilter::TimeoutError: Timeout flush when have just one message in log.

Steps to replicate

In low loaded environments I have ~1-2 log message per minute/hour. In this case I have I've got Plugin::ConcatFilter::TimeoutError: Timeout flush. But It's not an error. I expect that after timeout message will be sent to output, not marked as error.

Tri0L avatar Jan 28 '19 17:01 Tri0L

Anybody?

Tri0L avatar Feb 03 '19 11:02 Tri0L

Please check usage about timeout_label parameter.

okkez avatar Feb 04 '19 00:02 okkez

@okkez I am trying to implement this, but what exactly is happening? Why is the timeout_label parameter needed?

mhumeSF avatar Feb 21 '19 19:02 mhumeSF

Please check README.md around timeout_label and its example carefully and try it. If you want to suppress logs about timeout, you can use @log_level parameter for this plugin. Please check the documentation.

okkez avatar Feb 26 '19 00:02 okkez

@okkez Got it working. This makes sense now after looking at the docs. Thanks for taking time to reply!

mhumeSF avatar Feb 26 '19 17:02 mhumeSF

sry I think I really don't get the point. timeout label handels timeouts to be handled as "normal" logs. But how can I figure out what the root cause was?

kaisermario avatar Sep 02 '20 07:09 kaisermario

Analyze your logs carefully and write proper regexp patterns to match multiline logs. Your regexp patterns may be wrong or insufficient if timeout occurs.

okkez avatar Sep 04 '20 08:09 okkez