Various kinds of files or programs can be generated directly based on ECS.
In this directory, you'll find the following:
-
beats/fields.ecs.yml
: The YAML field definition file used by Beats to import ECS in it's broader field schema. -
csv/fields.csv
: A csv file you can use to import ECS field definitions in a spreadsheet. -
ecs/*.yml
: Two files that are the fully fleshed out representation of ECS. All the default values are filled in, basic checks have been made to ensure correctness or consistency, etc. Generators literally operate on one of these two representations, depending on whether they depend on the variablesecs_flat
orecs_nested
. -
elasticsearch/{6,7}/template.json
: Sample Elasticsearch templates to get started using ECS. Check out how to use them in generated/elasticsearch/README.md.
If you'd like to share your own generator with the ECS community, you're welcome
to look at our contribution guidelines, and then at the
generators in scripts/generators
.