--- # Generated by tools/hardened.py from ../t1. Edit t1 or the script; this file is regenerated. # # Starting values: Standard's defaults, role by role. Change them here, in # your copy. The rules in policy/ check this file before every run. # ---- log_forwarding ---- # Where the logs go. Set these per environment in group_vars. log_forwarding_collector_host: "" # required, the role stops without it log_forwarding_collector_port: 6514 # 6514 is the registered port for syslog over TLS # Encryption. Turning this off is a decision worth writing down somewhere, # because syslog carries usernames, hostnames, and often command lines. log_forwarding_tls_enabled: true log_forwarding_tls_ca_file: /etc/ssl/certs/ca-certificates.crt log_forwarding_tls_auth_mode: x509/name # x509/name | x509/certvalid | anon log_forwarding_tls_permitted_peer: "" # defaults to the collector hostname # The disk queue. With it, a collector outage becomes a delay. Messages wait on # disk and are sent when the collector returns. log_forwarding_queue_max_disk: 1g log_forwarding_queue_spool_dir: /var/spool/rsyslog # Rate limiting. systemd-journald drops messages above its own limit before # rsyslog ever sees them, so this raises that ceiling too. log_forwarding_rate_limit_interval: 0 # 0 turns rsyslog's own limiter off log_forwarding_journald_rate_limit_burst: 20000 # What to send. Everything by default. If volume forces you to narrow it, write # down which facilities you dropped and why, next to the change. log_forwarding_selector: "*.*" # Send a message at the end of the run and confirm rsyslog accepted it. log_forwarding_verify_after_run: true