fluent-plugin-concat
fluent-plugin-concat copied to clipboard
Plugin::ConcatFilter::TimeoutError: Timeout flush
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.
Anybody?
Please check usage about timeout_label parameter.
@okkez I am trying to implement this, but what exactly is happening? Why is the timeout_label parameter needed?
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 Got it working. This makes sense now after looking at the docs. Thanks for taking time to reply!
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?
Analyze your logs carefully and write proper regexp patterns to match multiline logs. Your regexp patterns may be wrong or insufficient if timeout occurs.