Reputation: 13
I have a Docker container and I am sending logs from the docker container to FluentD. Now, I use the FluentD logging driver, but I am having a doubt. On the documentation (link: https://docs.docker.com/engine/admin/logging/overview/#/etw-logging-driver-options) it says, the maximum size of the FluentD buffer limit is 8MB, but, I want to know how does it exactly function?
Upvotes: 0
Views: 1342
Reputation: 74889
The buffer is an in memory byte array so no files are involved.
The default actually looks like 1MB (1024*1024) as Docker supplies this value rather than relying on the golang fluentd modules default of 8MB.
When the buffer is full, it is flushed.
Upvotes: 3