Skip to content

[7.x] [Event Log] Extend ECS event schema with fields needed for Detection Engine (#95067)#95654

Merged
kibanamachine merged 1 commit intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-95067
Mar 29, 2021
Merged

[7.x] [Event Log] Extend ECS event schema with fields needed for Detection Engine (#95067)#95654
kibanamachine merged 1 commit intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-95067

Conversation

@kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

…Engine (elastic#95067)

**Related to:** elastic#94143

## Summary

This PR adds new fields to the schema (`EventSchema`, `IEvent`):

- standard ECS fields: `error.*`, `event.*`, `log.level`, `log.logger`, `rule.*`
- custom field set `kibana.detection_engine`

We need these fields on the Detections side to implement detection rule execution log. See the related proposal (elastic#94143) for more details.

Also, this PR bumps ECS used in Event Log from `1.6.0` to the current `1.8.0` version. They are 100% same in terms of fields used in Event Log, so no changes in the schema were caused by this version increment.
@kibanamachine
Copy link
Contributor Author

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @banderror

@kibanamachine kibanamachine merged commit b205abf into elastic:7.x Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants