Skip to content

Introduce free-form text sections in docs #943

Closed
@ebeahan

Description

@ebeahan

Summary

Introduce a concept into the ECS repo which captures extended usage examples. These examples would appear in the ECS documentation as a dedicated page per field set.

Motivation:

Real-world examples are powerful tools to help users better grasp ECS concepts and how users can better map their custom data sources. In addition to the field specifications, ECS also provides guidance on the preferred design patterns for modeling particular events.

A wealth of examples and past discussion is captured in the repo and on Discuss, but not in the ECS docs. Having such examples incorporated into the docs would provide a single, authoritative location. Restructuring could also allow us to include diagrams, code snippets, and other visual aids.

Issues touching on or providing such examples:

Design Proposal:

  • Refactor the existing schemas directory

    • As of ECS 1.5.0, the schemas directory contains a collection of YAML files and a README.
    • create subdirectories named after the fieldset
    • Each subdirectory contains the schema file for that fieldset. It can also contain an AsciiDoc formatted usage or example file.
  • Add a new page dedicated to the free-form usage and examples docs. The page will be nested underneath the field set reference page.

  • The AsciiDoc generator will be updated to support this refactoring in the docs

To-do:

Metadata

Metadata

Assignees

Labels

documentationenhancementNew feature or requestreadyIssues we'd like to address in the future.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions