Spool size on filebeat

Hello all!

Would someone mind explaining to me how the spool_size parameter affects the beats output?

Does it make it faster? Is it the amount of lines per transmission?

Thanks

The spooler collects lines from all prospectors and publishes them either if spool_size is reached or idle_timeout. Using spool_size you can configure maximum batch size and idle_timeout configures the maximum latency.