# Production Docker Compose log collector. Docker's non-blocking Fluentd driver # sends every service with a gochat. tag to this forward input. @type forward bind 0.0.0.0 port 24224 @type record_transformer service ${tag_parts[1]} environment production # Local, disk-buffered JSON is the reliable baseline and remains searchable # without an external logging vendor. Ship these files onward if required. @type file path /fluentd/log/gochat append true compress gzip @type file path /fluentd/buffer/gochat timekey 60 timekey_wait 10s timekey_use_utc true flush_mode interval flush_interval 5s chunk_limit_size 16m total_limit_size 8g retry_type exponential_backoff retry_forever true overflow_action block @type json