implementing-syslog-centralization-with-rsyslog

Solid

Configure rsyslog for centralized log collection with TLS encryption, custom templates, and log rotation. Generates server and client configuration files with GnuTLS stream drivers, x509 certificate authentication, per-host log segregation, and reliable queue settings for high-availability syslog infrastructure.

AI & Automation 16,326 stars 1981 forks Updated 2 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 95/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
96
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 1. Install dependencies: `pip install jinja2 paramiko` 2. Generate TLS certificates for rsyslog server and clients using OpenSSL. 3. 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 4. Deploy configurations to servers via SSH (paramiko). 5. Validate TLS connectivity and log delivery. ```bash python scripts/agent.py --server-ip 10.0.0.1 --clients 10.0.0.10,10.0.0.11 --ca-cert ca.pem --output syslog_report.json ``` ## Examples ### Server Configuration (TLS) ``` module(load="imtcp" StreamDriver.Name="gtls" StreamDriver.Mode="1" StreamDriver.Authmode="x509/name") input(type="imtcp" port="6514") template(name="PerHostLog" type="string" string="/var/log/remot...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
3 months ago
Last Updated
2 weeks ago
Language
Python
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category