docker run --rm -v $(pwd):/var/vc -v $(pwd)/output:/output -ti fluent/fluent-bit:latest /fluent-bit/bin/fluent-bit --config /var/vc/fluent-bit.conf --verbose
- Modify order of output rules in fluebt-bit.conf
- Count lines in input/output.file
Run docker with --net host
and update Host
in the proper [OUTPUT]
section.
SERVICE
:
Log_Level info
INPUT/tail
:
Mem_Buf_Limit 10M