Filebeat send the entire logfile as a single message

Filebeat reads fundamentally line by line, but I think it should be possible to use a multiline configuration to match up together everything from the file.

For example, the following should put together any lines:

  multiline.pattern: '.'
  multiline.match: after

Multiline doesn't match across files, so the EOF then works as a natural demarcation line. A quick test shows that this should work.

1 Like