implementing-log-forwarding-with-fluentd
配置 Fluentd 和 Fluent Bit,实现分布式基础设施中的集中式日志聚合、路由、过滤和丰富化
Best use case
implementing-log-forwarding-with-fluentd is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
配置 Fluentd 和 Fluent Bit,实现分布式基础设施中的集中式日志聚合、路由、过滤和丰富化
Teams using implementing-log-forwarding-with-fluentd should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/implementing-log-forwarding-with-fluentd/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How implementing-log-forwarding-with-fluentd Compares
| Feature / Agent | implementing-log-forwarding-with-fluentd | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
配置 Fluentd 和 Fluent Bit,实现分布式基础设施中的集中式日志聚合、路由、过滤和丰富化
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 使用 Fluentd 实现日志转发 ## 概述 本技能涵盖配置 Fluentd 和 Fluent Bit 进行集中式日志采集、路由和丰富化。Fluent Bit 作为终端上的轻量级日志转发器,Fluentd 作为中央聚合器和处理器。配置涵盖 syslog、文件追踪和应用日志的输入插件,以及路由到 Elasticsearch、S3 和 Splunk 的输出。 ## 前置条件 - Fluentd (td-agent) v1.16+ 或 Fluent Bit v3.0+ - Python 3.8+ 及 fluent-logger 库 - Elasticsearch 或 Splunk 作为日志目标 - 端口 24224 的网络访问(Fluentd forward 协议) - Ruby 2.7+(用于 Fluentd 插件开发) ## 步骤 1. **生成 Fluent Bit 配置** — 为终端日志采集创建输入、过滤和输出配置 2. **生成 Fluentd 聚合器配置** — 配置中央 Fluentd 实例,包括 forward 输入、解析和多输出路由 3. **配置日志过滤和丰富化** — 添加 record_transformer 和 grep 过滤器进行日志丰富化和降噪 4. **验证配置语法** — 解析并验证 Fluentd/Fluent Bit 配置文件是否存在语法错误 5. **测试日志转发** — 通过 fluent-logger Python 库发送测试事件并验证传达 6. **生成部署报告** — 输出包含路由拓扑和健康指标的配置摘要 ## 预期输出 - Fluent Bit 和 Fluentd 配置文件(INI/YAML 格式) - 配置验证报告 - 日志路由拓扑图(文本格式) - 测试事件传达确认
Related Skills
implementing-zero-trust-with-hashicorp-boundary
使用 HashiCorp Boundary 实现具备动态凭据代理、会话录制和 Vault 集成的身份感知零信任基础设施访问管理。
implementing-zero-trust-with-beyondcorp
使用身份感知代理(IAP,Identity-Aware Proxy)、上下文感知访问策略、设备信任验证和 Access Context Manager,部署 Google BeyondCorp Enterprise 零信任访问控制,对 GCP 资源和内部应用强制执行基于身份和安全态势的访问。
implementing-zero-trust-network-access
通过配置身份感知代理、微分段、基于条件访问策略的持续验证,以及在 AWS、Azure 和 GCP 环境中以 BeyondCorp 风格的架构替代传统 VPN 访问,在云环境中实施零信任网络访问(ZTNA)。
implementing-zero-trust-network-access-with-zscaler
使用 Zscaler 实施零信任网络访问(Zero Trust Network Access,ZTNA),通过 Zscaler Private Access(ZPA)配置应用分段、访问策略和连接器,替代传统 VPN 架构
implementing-zero-trust-in-cloud
本技能指导组织按照 NIST SP 800-207 和 Google BeyondCorp 原则在云环境中实施零信任(Zero Trust)架构,涵盖以身份为中心的访问控制、微分段(Micro-Segmentation)、持续验证、设备信任评估,以及部署身份感知代理(Identity-Aware Proxy)以消除 AWS、Azure 和 GCP 环境中的隐式网络信任。
implementing-zero-trust-for-saas-applications
使用 CASB、SSPM、条件访问策略、OAuth 应用治理和会话控制,为 SaaS 应用实施零信任访问控制, 对云托管服务强制执行身份验证、设备合规性检查和数据保护。
implementing-zero-trust-dns-with-nextdns
将 NextDNS 实施为零信任 DNS 过滤层,提供加密解析、威胁情报阻断、隐私保护,以及跨所有端点的组织策略执行。
implementing-zero-standing-privilege-with-cyberark
部署 CyberArk Secure Cloud Access,通过基于时间、权限和审批控制的即时访问,在混合云和多云环境中消除常设权限。
implementing-zero-knowledge-proof-for-authentication
零知识证明(ZKP)允许证明者在不泄露秘密本身的情况下证明对某个秘密(如密码或私钥)的了解。本技能实现 Schnorr 身份识别协议和使用离散对数问题的简化 ZKPP,使服务器永远不需要获取用户密码即可完成认证。
implementing-web-application-logging-with-modsecurity
配置带有 OWASP 核心规则集(CRS)的 ModSecurity WAF,实现 Web 应用程序日志记录, 调整规则以减少误报,分析审计日志进行攻击检测,并为应用程序特定威胁实现自定义 SecRules。 分析师配置 SecRuleEngine、SecAuditEngine 和 CRS 偏执级别,以在安全覆盖范围和运营稳定性之间取得平衡。 适用于涉及 WAF 配置、ModSecurity 规则调整、Web 应用审计日志或 CRS 部署的场景。
implementing-vulnerability-sla-breach-alerting
为漏洞修复 SLA 违规构建自动化告警,包含基于严重程度的时间线、升级工作流和合规性报告仪表板。
implementing-vulnerability-remediation-sla
漏洞修复 SLA(服务级别协议)根据严重程度、资产重要性和漏洞利用可用性定义修补或缓解已识别漏洞的强制时限。有效的 SLA 计划推动责任落实、确保一致的修复时间线,并为漏洞管理成熟度提供可衡量的 KPI。