मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)35k · #8129

implementing-syslog-centralization-with-rsyslog

यह क्या करती है

यह टूल rsyslog नाम के सिस्टम को कॉन्फ़िगर करने में मदद करता है, ताकि कई कंप्यूटरों से लॉग एक ही जगह पर सुरक्षित और व्यवस्थित तरीके से इकट्ठे किए जा सकें। यह उन कंप्यूटरों के लिए जरूरी कॉन्फ़िगरेशन फाइलें बनाता है जो अपने लॉग भेजेंगे, और उस केंद्रीय कंप्यूटर के लिए भी जो उन्हें प्राप्त करेगा।

कब इस्तेमाल करें

  • ✓जब आपको कई सर्वर के लॉग एक ही जगह पर इकट्ठा करने हों।
  • ✓जब आप चाहते हों कि लॉग सुरक्षित तरीके से (एन्क्रिप्टेड) भेजे जाएँ।
  • ✓जब आपको लॉग को कंप्यूटर या प्रोग्राम के प्रकार के हिसाब से व्यवस्थित करना हो।

Skill का लिंक

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-syslog-centralization-with-rsyslog/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-syslog-centralization-with-rsyslog/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे सर्वर के लॉग को केंद्रीकृत और एन्क्रिप्ट करने के लिए rsyslog कॉन्फ़िगर करो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह टूल सर्वर और क्लाइंट दोनों के लिए कॉन्फ़िगरेशन फाइलें बनाता है। यह लॉग भेजते समय एन्क्रिप्शन से उन्हें सुरक्षित रखता है और प्राप्त हुई फाइलों को कंप्यूटर के हिसाब से व्यवस्थित करता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

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.
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")
अक्सर पूछे जाने वाले सवाल

rsyslog क्या है?

यह एक कंप्यूटर प्रोग्राम है जो सिस्टम के लॉग मैसेज (गतिविधि के रिकॉर्ड) को संभालने और भेजने में मदद करता है।

लॉग क्या होते हैं?

ये किसी कंप्यूटर या प्रोग्राम में होने वाली घटनाओं के रिकॉर्ड होते हैं। इनसे पता चलता है कि क्या हुआ, समस्या का हल ढूँढने में और सुरक्षा जाँचने में ये काम आते हैं।

लॉग को केंद्रीकृत क्यों करें?

सभी लॉग एक जगह होने से सभी सिस्टम में जरूरी जानकारी का विश्लेषण, निगरानी और खोज करना आसान हो जाता है।

जानकारी

लेखक का मूल विवरण

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 inf

repo: mukul975/Anthropic-Cybersecurity-Skills

लोकप्रियता

GitHub स्टार
35k
रैंकिंग में स्थान
#8129
लाइसेंस
Apache-2.0
अपडेट की गई
31/8/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills