implementing-log-forwarding-with-fluentd
ما الذي تفعله
تساعد هذه المهارة على تنظيم السجلات (رسائل النظام) من حواسيب متعددة وإرسالها إلى مكان مركزي. تستخدم برنامجين: Fluent Bit لجمع السجلات على الحواسيب، وFluentd لتجميع كل السجلات الواردة وتنظيمها.
متى تستخدمها
- ✓عندما تحتاج إلى جمع السجلات من حواسيب كثيرة في مكان واحد.
- ✓عندما تضبط الأنظمة لضمان أن السجلات آمنة ومنظمة.
- ✓عندما تريد بناء نظام يجمع السجلات من التطبيقات والأنظمة ويعالجها.
رابط المهارة
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-log-forwarding-with-fluentd/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اضبط Fluent Bit وFluentd لجمع السجلات من الملفات وإرسالها إلى Elasticsearch.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يجمع Fluent Bit السجلات على الحواسيب ويرسلها إلى Fluentd. يستقبل Fluentd هذه السجلات، فينظمها ويُصفّي المعلومات غير الضرورية، ثم يعيد توجيهها إلى الوجهات التي تختارها مثل Elasticsearch أو S3 أو Splunk.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Implementing Log Forwarding with Fluentd
Overview
This skill covers configuring Fluentd and Fluent Bit for centralized log collection, routing, and enrichment. Fluent Bit acts as a lightweight log forwarder on endpoints, while Fluentd serves as the central aggregator and processor. The configuration covers input plugins for syslog, file tailing, and application logs, with output routing to Elasticsearch, S3, and Splunk.
When to Use
- When deploying or configuring implementing log forwarding with fluentd 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
- Fluentd (td-agent) v1.16+ or Fluent Bit v3.0+
- Python 3.8+ with fluent-logger library
- Elasticsearch or Splunk for log destination
- Network access on port 24224 (Fluentd forward protocol)
- Ruby 2.7+ (for Fluentd plugin development)
Steps
- Generate Fluent Bit Configuration — Create input, filter, and output configuration for endpoint log collection
- Generate Fluentd Aggregator Configuration — Configure the central Fluentd instance with forward input, parsing, and multi-output routing
- Configure Log Filtering and Enrichment — Add record_transformer and grep filters for log enrichment and noise reduction
- Validate Configuration Syntax — Parse and validate Fluentd/Fluent Bit configuration files for syntax errors
- Test Log Forwarding — Send test events via fluent-logger Python library and verify delivery
- Generate Deployment Report — Produce configuration summary with routing topology and health metrics
Expected Output
- Fluent Bit and Fluentd configuration files (INI/YAML format)
- Configuration validation report
- Log routing topology diagram (text-based)
- Test event delivery confirmation
الأسئلة الشائعة
ما هي السجلات؟
السجلات تشبه يوميات النظام أو التطبيق، تسجل ما حدث ومتى، وإن وقعت أي أخطاء.
لماذا نجمع السجلات في مكان مركزي؟
لأن ذلك يسهّل حل المشكلات والتحليل الأمني والامتثال للأنظمة، إذ تكون كل المعلومات المهمة في مكان واحد.
ما هما Fluent Bit وFluentd؟
Fluent Bit جامع سجلات خفيف يعمل على كل حاسوب. أما Fluentd فنظام أقوى يستقبل السجلات من Fluent Bit ويعالجها ويرسلها إلى وجهاتها النهائية.
التفاصيل
الوصف الأصلي من المؤلف
Configures Fluent Bit as an endpoint log forwarder and Fluentd as the central aggregator for centralized log collection, routing, filtering, and enrichment, covering input plugins for syslog/file-tailing/application logs and output routing to Elasticsearch, S3, and Splunk. Use when setting up centralized log aggregation across distributed infrastructure or generating Fluent Bit/Fluentd configurati
الشعبية
- نجوم GitHub
- 35k
- الترتيب
- #8069
- الترخيص
- Apache-2.0
- آخر تحديث
- 31/8/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
abusing-dpapi-for-credential-access
35kيمنح وكيل الذكاء الاصطناعي تعليمات جاهزة لمهمة محددة، ليؤديها بشكل أفضل وأسرع.
abusing-shadow-credentials-for-privesc
35kيعلّم وكيل الذكاء الاصطناعي لديك كتابة نص واضح ومنظم جيدًا.
achieving-cmmc-level-2-compliance
35kيساعد وكيلك على تجهيز بيئة للامتثال لمستوى CMMC 2. يطبق متطلبات الأمان ويدير الوثائق اللازمة.
acquiring-disk-image-with-dd-and-dcfldd
35kيساعد وكيلك على إنشاء نسخ مطابقة تمامًا لأقراص التخزين. هذا مفيد لضمان عدم فقدان أي معلومات أو تغييرها أثناء التحقيقات.
مهارات مشابهة
openclaw-update
394kيساعد وكيلك على تحديث بوابة OpenClaw Gateway الموجودة، مع اختيار طريقة التحديث المناسبة لطريقة تثبيتها والحفاظ على جلستك.
diagnose-gateway
394kيساعد وكيلك على معرفة سبب فشل بوابة OpenClaw Gateway عبر فحص الإعدادات والقنوات والمنافذ دون تغيير أي شيء.
crabbox-apps
394kيساعد وكيلك على فتح تطبيق وتشغيله على جهاز سحابي مؤقت، ثم عرض واجهته في الشريط الجانبي للدردشة.