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

timeout flush and can not match java stack multi

Open Maplejw opened this issue 7 years ago • 2 comments

Problem

This is my java exception log image image

And this is my fluentd.conf image

And then I open the kibana to search my log,but the log is not my expect and it reports timeout flush image image

Your environment

fluent-plugin-concat 2.3.0 fluentd 1.3.0 docker 18.09.0 docker-compose 1.23.1

please help me.

Maplejw avatar Dec 13 '18 09:12 Maplejw

How about following?(not tested)

<filter service.**>
  @type concat
  key log
  multiline_start_regexp /^\d{4}-\d{2}-\d{2}/
</filter>

okkez avatar Dec 18 '18 03:12 okkez

I'm using fluentd as my logging driver for my ECS containers. But I was facing one problem similar as Maplejw posted.

@okkez Thanks for this snippet, your (not tested) example helped me.

felipecafu95 avatar Feb 15 '19 13:02 felipecafu95