akin-ozer/cc-devops-skills/fluentbit-generator
Claude Code and agent skill by akin-ozer/cc-devops-skills
- community
Checking that the SKILL.md file is still in the repository.
Generate/create Fluent Bit configs — INPUT, FILTER, OUTPUT, parsers, log pipeline.
Install
npx vskill@latest install akin-ozer/cc-devops-skills/fluentbit-generatorSKILL.md
Fluent Bit Config Generator
Trigger Guidance
Use this skill when the user asks for any of the following:
- Create or update a Fluent Bit config (
fluent-bit.conf,parsers.conf) - Build a log pipeline (INPUT -> FILTER -> OUTPUT)
- Configure Kubernetes logging with metadata enrichment
- Send logs/metrics to Elasticsearch, Loki, CloudWatch, S3, Kafka, OTLP, or Prometheus remote write
- Implement parser, multiline, lua, or stream processing behavior
Do not use this skill for pure validation-only requests; use fluentbit-validator in that case.
Execution Flow
Follow this sequence exactly. Do not skip stages.
Stage 1: Set Working Context and Preflight
Use one of these deterministic command patterns.
Preflight checks:
- Confirm
python3is available. - Confirm script help loads without errors.
- If using relative output paths, run from the intended target cwd.
Fallback:
- If
python3or script execution is unavailable, switch to manual generation flow (Stage 4) usingexamples/templates.
Stage 2: Clarification Questionnaire (Explicit Template)
Collect these fields before generation.
Required questions:
- Primary use case:
kubernetes,application logs,syslog,http ingest,metrics, orcustom? - Inputs: which sources and paths/ports (for example
tail /var/log/containers/*.log)? - Outputs: destination plugin(s) and endpoint(s) (host, port, uri/topic/index/bucket)?
- Reliability/security requirements: TLS on/off, retry expectations, buffering limits?
- Environment context: cluster name, environment name, cloud region (if applicable)?
Optional but important:
- Expected log format: json, regex, cri, docker, multiline stack traces?
- Throughput profile: low/medium/high and acceptable latency?
- Constraints: offline environment, missing binaries, read-only filesystem?
If any required answer is missing, ask focused follow-up questions before generating.
Stage 3: Decide Script vs Manual Generation
Use this decision table.
| Condition | Path | |
|---|---|---|
| Request matches a built-in use case and only needs supported flags | Script path (Stage 5) | |
| Request needs uncommon plugin options not represented by script flags | Manual path (Stage 4) | |
| Complex multi-filter chain, custom parser/lua logic, or specialized plugin tuning | Manual path (Stage 4) | |
| Script cannot run in environment (missing Python/permissions) | Manual path (Stage 4) | |
| User explicitly requests hand-crafted config | Manual path (Stage 4) |
Supported script use cases:
kubernetes-elasticsearchkubernetes-lokikubernetes-cloudwatchkubernetes-opentelemetryapplication-multilinesyslog-forwardfile-tail-s3http-kafkamulti-destinationprometheus-metricslua-filteringstream-processorcustom
Always state the decision explicitly, including why the other path was not used.
Stage 4: Manual Generation (When Script Is Not the Best Fit)
- Read the closest template in
examples/first. - Read
examples/parsers.confbefore defining new parsers. - Assemble config in this order:
[SERVICE][INPUT][FILTER][OUTPUT]- parser definitions (if needed)
- Reuse known-good sections from examples and only customize required parameters.
- Keep tags and parser references consistent across sections.
Required local template selection:
- Kubernetes + Elasticsearch:
examples/kubernetes-elasticsearch.conf - Kubernetes + Loki:
examples/kubernetes-loki.conf - Kubernetes + CloudWatch:
examples/cloudwatch.conf - Kubernetes + OpenTelemetry:
examples/kubernetes-opentelemetry.conf - App multiline:
examples/application-multiline.conf - Syslog forward:
examples/syslog-forward.conf - File to S3:
examples/file-tail-s3.conf - HTTP to Kafka:
examples/http-input-kafka.conf - Multi destination:
examples/multi-destination.conf - Metrics:
examples/prometheus-metrics.conf - Lua filtering:
examples/lua-filtering.conf - Stream processor:
examples/stream-processor.conf - Parsers:
examples/parsers.conf
Fallback:
- If no matching example exists, start from
scripts/generate_config.py --use-case customoutput shape and extend manually.
Stage 5: Script Generation Commands (Deterministic Examples)
Run from skill directory unless output path is absolute.
Fallback:
- If a required option is unsupported by the script, document that gap and switch to Stage 4.
Stage 6: Plugin Documentation Lookup Fallback Chain
Use this strict order when plugin behavior or parameters are uncertain.
- Context7 (first choice)
- Resolve library id for Fluent Bit docs.
- Query plugin-specific configuration details.
- Official Fluent Bit docs (second choice)
- Use
https://docs.fluentbit.io/manualand plugin-specific pages. - Prefer official plugin reference sections over blogs.
- Web search (last choice)
- Use only when Context7 and official docs are unavailable/incomplete.
- Prioritize sources that quote or link official docs.
When to stop escalating:
- Stop as soon as required parameters and one validated example are found.
- If all sources are unavailable, proceed with local
examples/and clearly mark assumptions.
Stage 7: Validation and Fallback Behavior
Primary validation path:
- Invoke
fluentbit-validatorafter generation.
If validator is unavailable, run local fallback checks:
If fluent-bit binary is missing:
- Perform static checks manually:
- section headers are valid (
[SERVICE],[INPUT],[FILTER],[OUTPUT]) - required plugin keys exist
- tag/match patterns align
- parser names/files referenced correctly
- no hardcoded credentials
- Report that runtime validation was skipped and why.
Stage 8: Response Contract
Always return:
- Generation path used (
scriptormanual) and reason. - Produced file(s) and key plugin choices.
- Validation results (or explicit skip reason with fallback checks performed).
- Assumptions, open risks, and what to customize next.
Done Criteria
This skill execution is complete only when all are true:
- Trigger fit was explicitly confirmed.
- Clarification questionnaire captured required fields or documented assumptions.
- Script-vs-manual decision was explicit and justified.
- Plugin lookup used deterministic chain: Context7 -> official docs -> web (as needed).
- Commands were provided with cwd-safe examples.
- Fallback behavior was applied for any missing tools/docs/network constraints.
- Validation was executed (or skipped with explicit reason and fallback static checks).
- Final response included generated artifacts, validation outcome, and next customization points.
Local Resources
- Script:
scripts/generate_config.py - Templates:
examples/*.conf - Parsers baseline:
examples/parsers.conf - Sample output directory:
output/
Use these resources first before introducing new structure.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdevops-skills-plugin/skills/fluentbit-generator/SKILL.md
Popularity
- Repository stars
- 294
- Repository forks
- 32
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/akin-ozer/cc-devops-skills/fluentbit-generator)