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복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“파일에서 로그를 수집해 Elasticsearch로 보내도록 Fluent Bit과 Fluentd를 설정해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
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
- 업데이트
- 2026. 8. 31.
댓글
- …
이 저장소의 다른 스킬
abusing-dpapi-for-credential-access
35kAI 에이전트에게 특정 작업을 위한 준비된 지침을 제공해, 더 잘하고 더 빠르게 처리하도록 합니다.
abusing-shadow-credentials-for-privesc
35kAI 에이전트가 명확하고 잘 구성된 텍스트를 쓰도록 가르칩니다.
achieving-cmmc-level-2-compliance
35kCMMC Level 2 규정 준수를 위한 환경을 준비하도록 돕습니다. 보안 요구 사항을 구현하고 필요한 문서를 관리합니다.
acquiring-disk-image-with-dd-and-dcfldd
35k에이전트가 하드 드라이브의 정확한 복사본을 만들도록 돕습니다. 조사 중 정보가 손실되거나 변경되지 않도록 하는 데 유용합니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.