Configure rsyslog for centralized log collection with TLS encryption, custom templates, and log rotation, generating server and client configuration files with GnuTLS stream drivers, x509 certificate authentication, per-host log segregation, and reliable queue settings. Use when building a centralized, encrypted syslog pipeline, hardening rsyslog client/server configs for high-availability log infrastructure, or troubleshooting TLS-based syslog forwarding.
Start a fresh conversation. Replace the highlighted placeholders.
Use implementing-syslog-centralization-with-rsyslog to draft TLS-enabled rsyslog server and client configurations for [server requirements] and [client inventory], including per-host JSON logs and reliable queues; do not deploy or connect to hosts.
Required inputs
[server requirements]
[client inventory]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: implementing-syslog-centralization-with-rsyslogdescription: Configure rsyslog for centralized log collection with TLS encryption, custom templates, and log rotation, generating server and client configuration files with GnuTLS stream drivers, x509 certificate authentication, per-host log segregation, and reliable queue settings. Use when building a centralized, encrypted syslog pipeline, hardening rsyslog client/server configs for high-availability log infrastructure, or troubleshooting TLS-based syslog forwarding.domain: cybersecuritysubdomain: security-operationstags: - syslog- rsyslog- log-centralization- tls-encryption- log-management- security-operationsversion: '1.0'author: mahipallicense: Apache-2.0nist_csf: - DE.CM-01- RS.MA-01- GV.OV-01- DE.AE-02mitre_attack: - T1078- T1190- T1059- T1573- T1486
Implementing Syslog Centralization with Rsyslog
When to Use
When deploying or configuring implementing syslog centralization with rsyslog capabilities in your environment
When establishing security controls aligned to compliance requirements
When building or improving security architecture for this domain
When conducting security assessments that require this implementation
Prerequisites
Familiarity with security operations concepts and tools
Access to a test or lab environment for safe execution
Python 3.8+ with required dependencies installed
Appropriate authorization for any testing activities
Instructions
Install dependencies: pip install jinja2 paramiko
Generate TLS certificates for rsyslog server and clients using OpenSSL.
Run the agent to generate rsyslog server and client configurations:
Server: TLS listener on port 6514, per-host directory output, JSON-format templates
Client: TLS forwarding with disk-assisted queues for reliability
Deploy configurations to servers via SSH (paramiko).