-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment
github-actions[bot] edited this page Jun 13, 2026
·
2 revisions
Binary install on the host is still supported. A typical production setup:
- Cross-compile the binary for the target OS/arch.
- Install the binary and config on the host (e.g.
/opt/log-forwarder/). - Ensure the service user can read configured log paths.
- Point
sink.kafka.brokersat your production cluster (or switchsink.typetofile/http-noauth). - Run under a process supervisor such as systemd:
[Unit]
Description=Log Forwarder
After=network.target
[Service]
Type=simple
User=logforwarder
WorkingDirectory=/opt/log-forwarder
ExecStart=/opt/log-forwarder/log-forwarder -config /opt/log-forwarder/config.yaml
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.targetFor custom transformers or enrichers, deploy the binary built from your own entrypoint (e.g. ./examples/custom) instead of ./cmd/log-forwarder.
To track many forwarders from a central dashboard, run log-forwarder-atc alongside your agents and set atc.enabled: true in each config. See Log Forwarder ATC for setup on both repos, probe requirements, and failure behavior.
User guide
- Home
- Installation and First Run
- How It Works
- Filtering Vendor Noise
- Log Forwarder ATC
- Configuration Guide
- Configuration-Reference
- Config-Catalog
- Choosing a Sink
- Spring Boot Logs
- Watermarks and Restarts
- Built-in-Components
- Custom-Extensions
- Monitoring
- Testing
- Docker
- Deployment
- Example Configs
- Troubleshooting
Contributors