How to transfer whole file instead of line by line.?

(Srinivasarao Daruna) #1


I configured file beats to look into a folder and push the data to logstash.

How to use multiline to move whole file once.?

(Steffen Siering) #2

it sounds more like missuse. If multiline is used like this, the complete file will be buffered in memory and truncated to configured size limits (I think 10MB by default).

Creating a regex that always matches a line '.*' might do the trick. But then 1 file == 1 event in logstash.

(system) #3