…
|
||
---|---|---|
.. | ||
mappings.json | ||
README.md | ||
schemas.ts |
The files in this directory were generated by manually running the script ../scripts/create-schemas.js from the root directory of the repository.
These files should not be edited by hand.
Please follow the following steps:
- clone the ECS repo locally so that it resides along side your kibana repo, and checkout the ECS version you wish to support (for example, the
1.6
branch, for version 1.6) - In the
x-pack/plugins/event_log/scripts/mappings.js
file you'll want to make th efollowing changes:- Update
EcsKibanaExtensionsMappings
to include the mapping of the fields you wish to add. - Update
EcsEventLogProperties
to include the fields in the generated mappings.json.
- Update
- cd to the
kibana
root folder and run:node ./x-pack/plugins/event_log/scripts/create_schemas.js