mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-30 04:20:20 +00:00
- Refactor specialized docs for conciseness and clarity - Rename files to UPPER_CASE.md convention - Verify accuracy against codebase - Fix broken links
1.1 KiB
1.1 KiB
📝 Sensor Proxy Log Forwarding
Forward audit.log and proxy.log to a central SIEM via RELP + TLS.
🚀 Quick Start
Run the helper script with your collector details:
sudo REMOTE_HOST=logs.example.com \
REMOTE_PORT=6514 \
CERT_DIR=/etc/pulse/log-forwarding \
CA_CERT=/path/to/ca.crt \
CLIENT_CERT=/path/to/client.crt \
CLIENT_KEY=/path/to/client.key \
/opt/pulse/scripts/setup-log-forwarding.sh
📋 What It Does
- Inputs: Watches
/var/log/pulse/sensor-proxy/{audit,proxy}.log. - Queue: Disk-backed queue (50k messages) for reliability.
- Output: RELP over TLS to
REMOTE_HOST. - Mirror: Local debug file at
/var/log/pulse/sensor-proxy/forwarding.log.
✅ Verification
- Check Status:
sudo systemctl status rsyslog - View Mirror:
tail -f /var/log/pulse/sensor-proxy/forwarding.log - Test: Restart proxy and check remote collector for
pulse.audittag.
🧹 Maintenance
- Disable: Remove
/etc/rsyslog.d/pulse-sensor-proxy.confand restart rsyslog. - Rotate Certs: Replace files in
CERT_DIRand restart rsyslog.