kibana/x-pack/plugins/event_log/generated
..
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:

  1. 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)
  2. In the x-pack/plugins/event_log/scripts/mappings.js file you'll want to make th efollowing changes:
    1. Update EcsKibanaExtensionsMappings to include the mapping of the fields you wish to add.
    2. Update EcsEventLogProperties to include the fields in the generated mappings.json.
  3. cd to the kibana root folder and run: node ./x-pack/plugins/event_log/scripts/create_schemas.js