implementing-syslog-centralization-with-rsyslog
/implementing-syslog-centralization-with-rsyslog
Konfiguruje rsyslog do centralnego zbierania logów przez TLS, z szablonami, rotacją i kolejkami, i generuje konfiguracje serwera oraz klientów.
- Autor
- mukul975 ↗
- Repozytorium
- Anthropic-Cybersecurity-Skills ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 31.08.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 31.08.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/agent.py
Co robi i kiedy
Konfiguruje rsyslog do centralnego zbierania logów przez TLS, z szablonami, rotacją i kolejkami, i generuje konfiguracje serwera oraz klientów.
Oryginalny opis (EN)
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.
Jak działa
- When to Use
- Prerequisites
- Instructions
- Examples
Podgląd SKILL.md
---
name: implementing-syslog-centralization-with-rsyslog
description: 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: cybersecurity
subdomain: security-operations
tags:
- syslog
- rsyslog
- log-centralization
- tls-encryption
- log-management
- security-operations
version: '1.0'
author: mahipal
license: Apache-2.0
nist_csf:
- DE.CM-01
- RS.MA-01
- GV.OV-01
- DE.AE-02
mitre_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
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/remote/%HOSTNAME%/%PROGRAMNAME%.log")
*.* ?PerHostLog
```
### Client Configuration (Reliable Forwarding)
```
action(type="omfwd" target="10.0.0.1" port="6514" protocol="tcp"
StreamDriver="gtls" StreamDriverMode="1"
StreamDriverAuthMode="x509/name"
queue.type="LinkedList" queue.filename="fwdRule1"
queue.maxdiskspace="1g" queue.saveonshutdown="on"
action.resumeRetryCount="-1")
```
Pliki w paczce (4)
- LICENSE 11 KB
- SKILL.md 3 KB
- references/api-reference.md 2 KB
- scripts/agent.py 9 KB
Wersje
W bazie nie ma innych skilli o nazwie implementing-syslog-centralization-with-rsyslog.
Migawka bazy z 13.11.2026 · wersja paczki 91439b0495f3 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100rsyslog-release
Przygotowuje i publikuje stabilne wydania rsyslog: metadane, podpisane tagi, ogłoszenia na GitHub i scalanie gałęzi stabilnej z main. - 100implementing-log-forwarding-with-fluentd
Konfiguruje Fluent Bit jako nadawcę logów i Fluentd jako centralny agregator, z trasowaniem, filtrowaniem i wzbogacaniem do Elasticsearch, S3 lub Splunk. - 95create-parser
Projektuje parser syslog-ng dla SC4S na podstawie próbek logów i może go wdrożyć przez serwer MCP SC4S. - 100rsyslog-performance
Bezpiecznie optymalizuje wydajność rsyslog: pomiary na porównywanych buildach, profilowanie, progi akceptacji i testy poprawności. - 100external-logging
Wysyła logi organizacji z Control Plane do zewnętrznych dostawców, między innymi S3, CloudWatch, Datadog, Elastic, syslog i OpenTelemetry. - 90sc4s-send-syslog
Wysyła testowe zdarzenia syslog w formie zwykłego tekstu do hosta SC4S przez narzędzie MCP, np. przy testach parsowania i routingu.