# Buffer

When the data or logs are ready to be routed to some destination, by default they are buffered in memory.

![](https://4190563393-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LKKSx-3LBTCtaHbg0gl%2F-LKKTm4Y55lytnFhqfG1%2F-LKKTqrSt1OZi8vksZX_%2Flogging_pipeline_buffer.png?generation=1534737477823323\&alt=media)

> Note that buffered data is not longer a raw text, instead it's in Fluent Bit internal binary representation.

Optionally Fluent Bit offers a buffering mechanism in the file system that acts as a *backup system* to avoid data loss in case of system failures.
