Reusing an Existing Logging Infrastructure
If you already have a log forwarder, web server, or SIEM pipeline running on your server, you do not need to deploy duplicate monitoring services.
1. Direct Piping via rwarden monitor --raw
The rwarden monitor command includes a --raw flag that auto-discovers all containers tagged with routewarden=true and outputs clean, unformatted log lines formatted in standard Apache/Nginx Combined log format.
You can pipe this stream directly into your existing tools:
# 1. Stream raw Combined logs from auto-discovered containers into stdout or jqrwarden monitor --raw | jq .# 2. Forward stream to an existing file or log pipelinerwarden monitor --raw >> /var/log/central-security.log2. Advantages of the Pipeline Model
- No New Daemons: Multiplexes existing Docker container logs without launching new background containers.
- Zero Disk Footprint: Pipes directly in memory through Unix pipes into external analyzers.
- Instant Triage: You can stop and restart the stream anytime with
Ctrl+C.