ecs-rfc-guide
Skill1.1k starsChanged 7 months agoApache-2.0View on GitHub
Guides contributors through the Elastic Common Schema (ECS) RFC (Proposal) process: template sections, target maturity (alpha/beta), rfcs/text artifacts, and optional OTel mapping. Use when a change needs an RFC, when drafting or reviewing RFC PRs, or when the user asks how to propose new ECS field sets or substantial schema changes.
Trending
Quiet this year.thin dataabout the whole repository
Who's talking about elastic/ecs
- fluent/fluentd-kubernetes-daemonset“Feaure request: Adhere to Elastic Common Schema (ECS)”GitHub · Apr 4, 2019 · 11 reactions
- elastic/kibana“[Observability] Shared ECS fields across solutions (Uptime, APM, Logs, Metrics)”GitHub · Jun 18, 2020 · 8 reactions
- elastic/package-registry“Change stream.* fields to dataset.* fields”GitHub · May 27, 2020 · 8 reactions
- elastic/kibana“Expose Elasticsearch case insensitivity in EQL/KQL”GitHub · Jun 9, 2022 · 7 reactions
- elastic/beats“Go modules”GitHub · Jan 27, 2020 · 7 reactions
The biggest 5 of 7 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 7
Talked about on GitHub (7 times).
On GitHub · 7
- Apr 4, 2019Feaure request: Adhere to Elastic Common Schema (ECS) — fluent/fluentd-kubernetes-daemonset11 reactions · 4 comments
- Jun 18, 2020[Observability] Shared ECS fields across solutions (Uptime, APM, Logs, Metrics) — elastic/kibana8 reactions · 18 comments
- May 27, 2020Change stream.* fields to dataset.* fields — elastic/package-registry8 reactions · 12 comments
- Jun 9, 2022Expose Elasticsearch case insensitivity in EQL/KQL — elastic/kibana7 reactions · 9 comments
- Jan 27, 2020Go modules — elastic/beats7 reactions · 11 comments
2 more on GitHub
- Mar 16, 2019Compatibility with Elastic ECS? — logstash-plugins/logstash-filter-useragent5 reactions · 4 comments
- Sep 25, 2018Elastic Common Schema (ECS) — HASecuritySolutions/VulnWhisperer5 reactions · 6 comments
In this repositoryOne other file it gives its agents.
- ecs-pr-triageSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Use after ecs-pr-triage (or equivalent judgment) says Needs RFC, or when the user is starting a new field set, breaking change, novel use …
- Very specific: line 25
If applicable, the RFC PR should include the schema changes (schemas/*.yml, generated artifacts, docs) at the agreed maturity level — …
- Distinctive: line 44
When the RFC adds or changes fields:
- Very specific: line 46
Create rfcs/text/<number>/ with standalone YAML snippets, large JSON examples, or mappings — especially when the markdown would be huge.
- Very specific: line 47
Use the next free folder number (scan rfcs/text/.
- Very specific: line 54
When a new or changed field has a clear OTel semconv counterpart, adding an otel: block (with relation: match | equivalent | related | …
- Distinctive: line 56
If unsure whether an OTel mapping applies, omit it.
- Very specific: line 69
Do not replace process with old multi-stage labels found in historical RFCs under rfcs/text/*.md.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ECS RFC (Proposal) guide
When this applies
Use after ecs-pr-triage (or equivalent judgment) says Needs RFC, or when the user is starting a new field set, breaking change, novel use case, or ECS-wide design.
Authoritative process: rfcs/PROCESS.md. Template: rfcs/0000-rfc-template.md. High-level triggers: rfcs/README.md.
Current process (short)
- Single Proposal stage — template must keep
Stage: **Proposal**. - Contributor opens a PR that adds the RFC markdown under
rfcs/(name like0000-<dash-separated-name>.mduntil numbered). - Specify Target maturity:
alpha,beta, ormixture(see Field stability). - The PR author assigns the next available RFC number (scan
rfcs/text/for the highest existing number). ECS team reviews holistically and merges on approval. - If applicable, the RFC PR should include the schema changes (
schemas/*.yml, generated artifacts, docs) at the agreed maturity level — proposal and implementation land together in a single PR.
Template walkthrough
Copy rfcs/0000-rfc-template.md. Remove HTML comments as sections are filled.
| Section | What “good” looks like |
| Summary | 2–5 sentences: what, why, impact. |
| Usage | End-to-end: producer → storage → queries/dashboards/detections. |
| Fields | Every proposed field: name, type, description, level/maturity, example. Prefer YAML blocks. If object/flattened without children, justify shape and conflict avoidance (see schemas/README.md). |
| Source data | ≥2 real examples (JSON/logs); link or place large payloads under rfcs/text/<n>/. |
| Scope of impact | Ingestion (Beats/Agents), Kibana/apps, ECS repo (docs/tooling). |
| Concerns | Risks + resolved mitigations; OTel overlap; naming; adoption. |
| People | Author, SMEs, reviewers. |
| References | Prior art, semconv links, related issues/PRs. |
rfcs/text/<number>/ folder
When the RFC adds or changes fields:
- Create
rfcs/text/<number>/with standalone YAML snippets, large JSON examples, or mappings — especially when the markdown would be huge. - Use the next free folder number (scan
rfcs/text/; duplicates get fixed at merge per template notes). - Align filenames with affected field sets (e.g.
faas.yml,gen_ai.yaml) for reviewer navigation.
OTel alignment (optional)
ECS tracks relationships between its fields and OTel semconv via otel: metadata tags in schemas/*.yml.
- When a new or changed field has a clear OTel semconv counterpart, adding an
otel:block (withrelation: match | equivalent | related | conflict | na) is encouraged but not required. - The
otel:metadata is used to generate alignment documentation — it is not a gate for merging. - If unsure whether an OTel mapping applies, omit it; it can be added later.
Maturity choice (alpha vs beta)
- Alpha — earlier, may change more; good for exploratory or fast-moving domains.
- Beta — clearer adoption path; still subject to change before GA.
- Mixture — some fields alpha, some beta; explain per field or group.
Promotion after merge is out of band from the RFC (team process per PROCESS.md).
PR hygiene
- Link the Proposal PR at the bottom of the RFC (
### RFC Pull Requests). - Do not replace process with old multi-stage labels found in historical RFCs under
rfcs/text/*.md; those are legacy examples only.
Example RFCs (depth reference)
- FaaS + service reuse: rfcs/text/0027-faas-fields.md + folder
rfcs/text/0027/. - GenAI security fields: rfcs/text/0050-gen_ai-security-fields.md.
Implementation in the RFC PR
The RFC PR itself should include the schema implementation: schemas/*.yml changes, make-generated artifacts, and a CHANGELOG.next.md entry. There is no separate "handoff" — proposal and schema land together.
Related
- Triage and routing: ecs-pr-triage skill; ecs-contribution-routing rule.
- YAML details: ecs-schema-standards rule.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

