Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 807 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 807 Bytes

Concrete usage example

This directory contains a full example of using the ECS tools to manage your project's index template (or your Beats field definitions) with the ECS tools.

The fields directory contains files managed by the sample project, whereas the generated directory contains the files generated by running the following command from the root of the ECS repository:

python scripts/generator.py --ref v1.6.0 \
  --subset            usage-example/fields/subset.yml \
  --include           usage-example/fields/custom/ \
  --out               usage-example/ \
  --template-settings usage-example/fields/template-settings.json \
  --mapping-settings  usage-example/fields/mapping-settings.json

Refer back to USAGE.md for the documentation on each of these flags.