Doug Whitfield
12/10/2025, 10:45 PM[Unit]
Description=Fluent Bit
Documentation=<https://docs.fluentbit.io/manual/>
Requires=network.target
After=network.target
# Disable the check for maximum allowed in an interval
StartLimitIntervalSec=0
[Service]
Type=simple
LimitNOFILE=13107200
ExecStart=/opt/fluent-bit/bin/fluent-bit -c /etc/fluent-bit/fluent_bit.yaml
MemoryMax=2G
# Allow for infinite restarts to support Fleet Management configuration changes fixing invalid configuration
Restart=on-failure
# Wait 30 second between restarts rather than 100ms
RestartSec=30s
[Install]
WantedBy=multi-user.target
fluent_bit.yaml
includes:
- inputs_*.yaml
- outputs_*.yaml
- multiline_parsers_*.yaml
- parsers_*.yaml
service:
log_level: info
http_server: on
http_listen: 0.0.0.0
http_port: 2021
hot_reload: on
log_file: /opt/fluent-bit/logs/fluent-bit.log
storage.path: /opt/fluent-bit/flb-storage/
storage.metrics: on
storage.backlog.mem_limit: 300M
storage.delete_irrecoverable_chunks: onPat
12/11/2025, 3:17 PMPat
12/11/2025, 3:18 PM